- Timestamp:
- May 30, 2017, 12:23:37 AM (8 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
- Children:
- 6cbf34b
- Parents:
- 415e360
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/lib/gen_external.py
r415e360 rb1f93c4 153 153 lib[shortname]['longname'] = longname 154 154 lib[shortname]['shortname'] = shortname 155 valid_funcname_part = ['_'+longname,longname+'_']156 155 157 156 for fn in c_declarations: … … 161 160 else: 162 161 raise NameError('Warning : error while parsing : unexpected line %s' % fn) 163 if any(x in func_name for x in valid_funcname_part):162 if func_name.startswith(longname + '_') or func_name.endswith(longname): 164 163 # print "found", shortname, "in", fn 165 164 if 'typedef struct ' in fn:
Note: See TracChangeset
for help on using the changeset viewer.