diff options
Diffstat (limited to 'src/sim86/sim86.h')
| -rw-r--r-- | src/sim86/sim86.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/sim86/sim86.h b/src/sim86/sim86.h new file mode 100644 index 0000000..24068e2 --- /dev/null +++ b/src/sim86/sim86.h @@ -0,0 +1,15 @@ +/* date = August 13th 2025 1:51 pm */ + +#ifndef SIM86_H +#define SIM86_H + +#define internal static +#define global_variable static +#define local_persist static + +typedef size_t psize; + +#define Assert(Expression) if(!(Expression)) { __asm__ volatile("int3"); } +#define ArrayCount(Array) (sizeof(Array) / sizeof((Array)[0])) + +#endif //SIM86_H |
