added assert from standart libs -> creates a lot of overhead. we must create our own lightweight assert
parent
44fb09b309
commit
ac48839b70
@ -0,0 +1,8 @@
|
|||||||
|
#include "assert.h"
|
||||||
|
|
||||||
|
void assert(int check)
|
||||||
|
{
|
||||||
|
while(!check) {
|
||||||
|
// dead loop here
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
void assert(int check);
|
Loading…
Reference in new issue