diff options
| author | tech kaczynski <tk@techkaczynski.dev> | 2026-09-22 22:38:57 +1000 |
|---|---|---|
| committer | tech kaczynski <tk@techkaczynski.dev> | 2026-09-22 22:38:57 +1000 |
| commit | 08cb8d6a585dd552b69a488d9db1be123f01467a (patch) | |
| tree | 77d50ce30bbc102b08486929ba654b5bef70af43 /b3internalassert.c | |
initial commit.
Diffstat (limited to 'b3internalassert.c')
| -rw-r--r-- | b3internalassert.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/b3internalassert.c b/b3internalassert.c new file mode 100644 index 0000000..5beecbe --- /dev/null +++ b/b3internalassert.c @@ -0,0 +1,9 @@ +#include <stdio.h> +#include <stdlib.h> + +/* deepseek gave me this when I pasted errors from cproc C compiler */ +int b3InternalAssert(const char* condition, const char* fileName, int lineNumber) { + fprintf(stderr, "Box3D Assertion Failed: (%s) in %s at line %d\n", + condition, fileName, lineNumber); + return 1; +} |
