Changeset fbcee4f for python/lib/gen_external.py
- Timestamp:
- Apr 25, 2016, 12:35:53 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, pitchshift, sampler, timestretch, yinfft+
- Children:
- c4b2183
- Parents:
- c6388f4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/lib/gen_external.py
rc6388f4 rfbcee4f 67 67 return cpp_output, cpp_objects 68 68 69 def generate_external(output_path ):70 os.mkdir(output_path)69 def generate_external(output_path, usedouble = False): 70 if not os.path.isdir(output_path): os.mkdir(output_path) 71 71 sources_list = [] 72 72 cpp_output, cpp_objects = get_cpp_objects() … … 124 124 for o in lib: 125 125 out = header 126 mapped = MappedObject(lib[o] )126 mapped = MappedObject(lib[o], usedouble = usedouble) 127 127 out += mapped.gen_code() 128 128 output_file = os.path.join(output_path, 'gen-%s.c' % o)
Note: See TracChangeset
for help on using the changeset viewer.