techkaczynski.dev / code

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