Changeset c71e405 for interfaces/python/gen_pyobject.py
- Timestamp:
- Jul 11, 2012, 2:09:20 AM (12 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- 1458de5, 451b05d
- Parents:
- c325a11
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
interfaces/python/gen_pyobject.py
rc325a11 rc71e405 25 25 # There is no way of knowing that output1 is actually input2. In the future, 26 26 # const could be used for the inputs in the C prototypes. 27 28 def write_msg(*args): 29 pass 30 # uncomment out for debugging 31 #print args 27 32 28 33 def split_type(arg): … … 226 231 """ % locals() 227 232 else: 228 print "ERROR, unknown type of parameter %s %s" % (ptype, pname)233 write_msg ("ERROR, unknown type of parameter %s %s" % (ptype, pname) ) 229 234 s += """\ 230 235 … … 346 351 % { 'pname': param[1], 'ptype': param[0], 'name': name} 347 352 else: 348 print "-- ERROR, unknown member type ", param353 write_msg ("-- ERROR, unknown member type ", param ) 349 354 s += """ 350 355 AUBIO_MEMBERS_STOP(%(name)s) … … 363 368 assert params[0][0] == "aubio_"+name+"_t*", \ 364 369 "get method is not in 'aubio_<name>_t" 365 print method366 print params[1:]370 write_msg (method ) 371 write_msg (params[1:]) 367 372 setter_args = "self->o, " +",".join([p[1] for p in params[1:]]) 368 373 parse_args = ""
Note: See TracChangeset
for help on using the changeset viewer.