Changeset fbcee4f for python/lib/gen_code.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_code.py
rc6388f4 rfbcee4f 69 69 70 70 pyargparse_chars = { 71 'smpl_t': 'f', 71 'smpl_t': 'f', # if not usedouble else 'd', 72 72 'uint_t': 'I', 73 73 'sint_t': 'I', … … 154 154 class MappedObject(object): 155 155 156 def __init__(self, prototypes): 156 def __init__(self, prototypes, usedouble = False): 157 if usedouble: 158 pyargparse_chars['smpl_t'] = 'd' 157 159 self.prototypes = prototypes 158 160
Note: See TracChangeset
for help on using the changeset viewer.