- Timestamp:
- May 29, 2017, 7:28:48 PM (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:
- 5674833
- Parents:
- deaf39e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/lib/gen_external.py
rdeaf39e r15a43e0 109 109 i = 1 110 110 while 1: 111 if i >= len(cpp_output): 112 if cpp_output[i-1].endswith(',') or cpp_output[i-1].endswith('{') or cpp_output[i].startswith('}'):111 if i >= len(cpp_output):break 112 if ('{' in cpp_output[i - 1]) and (not '}' in cpp_output[i - 1]) or (not ';' in cpp_output[i - 1]): 113 113 cpp_output[i] = cpp_output[i-1] + ' ' + cpp_output[i] 114 114 cpp_output.pop(i-1) 115 elif ('}' in cpp_output[i]): 116 cpp_output[i] = cpp_output[i - 1] + ' ' + cpp_output[i] 117 cpp_output.pop(i - 1) 115 118 else: 116 119 i += 1
Note: See TracChangeset
for help on using the changeset viewer.