8
void __sq_debugf(const char *fmt, ...)
16
void __sq_assert(char *file, int line, char *func, char *expr)
21
__sq_eprintf("assertion failed: %s\n", expr);
29
void __sq_eprintf(const char *fmt, ...)
32
char *file= strrchr(__sq_errfile, '/');
33
file= file ? file + 1 : __sq_errfile;
35
fprintf(stderr, "%s(%d): %s:\n", file, __sq_errline, __sq_errfunc);
36
fprintf(stderr, "%s(%d): ", file, __sq_errline);
37
vfprintf(stderr, fmt, ap);
42
void sqDebugAnchor(void)