Commit 7182cf44 authored by Tom Barbalet's avatar Tom Barbalet

Add a new soft assert

parent 3961c530
Pipeline #126340263 passed with stages
in 52 minutes and 58 seconds
......@@ -126,8 +126,15 @@ void io_assert(n_string message, n_string file_loc, n_int line);
#else
#ifdef DEBUG
#define NA_ASSERT(test, message) if (!(test)) printf("%s line: %d Soft Assert: %s\n",__FILE__, __LINE__, message)
#else
#define NA_ASSERT(test, message) /* test message */
#endif
#endif
typedef union
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment