Changeset 6f601bd for src


Ignore:
Timestamp:
Dec 16, 2018, 7:11:19 PM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master
Children:
0f5d372
Parents:
e4c6c76
Message:

[lib] add AUBIO_ASSERT for debug mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/aubio_priv.h

    re4c6c76 r6f601bd  
    368368#endif /* __STRICT_ANSI__ */
    369369
     370#if defined(DEBUG)
     371#include <assert.h>
     372#define AUBIO_ASSERT(x) assert(x)
     373#else
     374#define AUBIO_ASSERT(x)
     375#endif /* DEBUG */
     376
    370377#endif /* AUBIO_PRIV_H */
Note: See TracChangeset for help on using the changeset viewer.