ti83-sdk/lib83/assert.h

10 lines
260 B
C
Raw Normal View History

2023-10-07 23:32:30 +00:00
#ifndef _ASSERT_H
#define _ASSERT_H
#define assert(expr) ((expr) ? (void) (0) : __assert_fail(#expr, __FILE__, __LINE__, __func__))
extern void __assert_fail(const char *__assertion, const char *__file, unsigned int __line, const char *__function);
#endif