techkaczynski.dev / code

summaryrefslogtreecommitdiff
path: root/b3internalassert.c
blob: aec7fda70c99d158a88c5d45f11b52c6e3c14bcd (plain)
1
2
3
4
5
6
7
8
9
10
11
#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;
}