Mercurial > hg > dmlib
comparison minijss/jssmod.h @ 2586:9807ae37ad69
Require stdbool.h, we require C11 now.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 08 Dec 2022 15:59:22 +0200 |
parents | dcf1016f3d27 |
children |
comparison
equal
deleted
inserted
replaced
2585:ef6c826c5b7a | 2586:9807ae37ad69 |
---|---|
142 | 142 |
143 | 143 |
144 typedef struct | 144 typedef struct |
145 { | 145 { |
146 int nrows, nchannels, nmap; | 146 int nrows, nchannels, nmap; |
147 BOOL *used; | 147 bool *used; |
148 Uint8 *map; | 148 Uint8 *map; |
149 JSSNote *data; | 149 JSSNote *data; |
150 } JSSPattern; | 150 } JSSPattern; |
151 | 151 |
152 | 152 |
322 | 322 |
323 JSSExtInstrument * jssAllocateExtInstrument(void); | 323 JSSExtInstrument * jssAllocateExtInstrument(void); |
324 void jssFreeExtInstrument(JSSExtInstrument *inst); | 324 void jssFreeExtInstrument(JSSExtInstrument *inst); |
325 | 325 |
326 #ifdef JSS_SUP_XM | 326 #ifdef JSS_SUP_XM |
327 int jssLoadXM(DMResource *file, JSSModule **pmodule, BOOL probe); | 327 int jssLoadXM(DMResource *file, JSSModule **pmodule, bool probe); |
328 #endif | 328 #endif |
329 | 329 |
330 #ifdef JSS_SUP_JSSMOD | 330 #ifdef JSS_SUP_JSSMOD |
331 int jssLoadJSSMOD(DMResource *file, JSSModule **pmodule, BOOL probe); | 331 int jssLoadJSSMOD(DMResource *file, JSSModule **pmodule, bool probe); |
332 #endif | 332 #endif |
333 | 333 |
334 | 334 |
335 #ifdef __cplusplus | 335 #ifdef __cplusplus |
336 } | 336 } |