1 /* Defines the _ARGCHK macro used within the library */
4 /* ARGTYPE is defined in mycrypt_cfg.h */
5 #if ARGTYPE == 2 || defined(NDEBUG)
13 /* this is the default LibTomCrypt macro */
14 extern void crypt_argchk(char *v, char *s, int d);
15 #define _ARGCHK(x) if (!(x)) { crypt_argchk(#x, __FILE__, __LINE__); }
19 /* fatal type of error */
20 #define _ARGCHK(x) assert((x))