Changeset bb42f65 for python/lib/gen_pyobject.py
- Timestamp:
- Mar 18, 2013, 4:34:01 PM (11 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:
- b209eda
- Parents:
- ac20c85 (diff), a5f4b7d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/lib/gen_pyobject.py
rac20c85 rbb42f65 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.