- Timestamp:
- Nov 17, 2011, 2:07:12 AM (13 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:
- 1c24da5
- Parents:
- c55f907
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/aubio_priv.h
rc55f907 r7ce0701 82 82 #define AUBIO_MALLOC(_n) malloc(_n) 83 83 #define AUBIO_REALLOC(_p,_n) realloc(_p,_n) 84 #define AUBIO_NEW(_t) (_t*) malloc(sizeof(_t))85 #define AUBIO_ARRAY(_t,_n) (_t*) malloc((_n)*sizeof(_t))84 #define AUBIO_NEW(_t) (_t*)calloc(sizeof(_t), 1) 85 #define AUBIO_ARRAY(_t,_n) (_t*)calloc((_n)*sizeof(_t), 1) 86 86 #define AUBIO_MEMCPY(_dst,_src,_n) memcpy(_dst,_src,_n) 87 87 #define AUBIO_MEMSET(_dst,_src,_t) memset(_dst,_src,_t)
Note: See TracChangeset
for help on using the changeset viewer.