- Timestamp:
- Mar 18, 2013, 8:05:29 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:
- 53439af
- Parents:
- 4a95f83
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/lib/gen_pyobject.py
r4a95f83 r3a67894 478 478 """ % {'funcname': method_name, 'objname': name, 479 479 'out_type': out_type, 'setter_args': setter_args, 'parse_args': parse_args } 480 shortname = method_name.split( name+'_')[-1]480 shortname = method_name.split('aubio_'+name+'_')[-1] 481 481 method_defs += """\ 482 482 {"%(shortname)s", (PyCFunction) Py%(method_name)s, … … 494 494 getter_args = "self->o" 495 495 returnval = "(PyObject *)" + aubiovectopyobj[out_type] + " (tmp)" 496 shortname = method_name.split( name+'_')[-1]496 shortname = method_name.split('aubio_'+name+'_')[-1] 497 497 method_defs += """\ 498 498 {"%(shortname)s", (PyCFunction) Py%(method_name)s,
Note: See TracChangeset
for help on using the changeset viewer.