Remove core.h, SDL2->SDL3, Makefile cleanup, ansi C, 80 char.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#ifndef HELPERS_SENTRY
|
||||
#define HELPERS_SENTRY
|
||||
|
||||
#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
|
||||
|
||||
#define KB(n) (((unsigned long long)(n)) << 10)
|
||||
#define MB(n) (((unsigned long long)(n)) << 20)
|
||||
#define GB(n) (((unsigned long long)(n)) << 30)
|
||||
#define TB(n) (((unsigned long long)(n)) << 40)
|
||||
|
||||
#define SWAP(T, a, b) do { T t__ = a; a = b; b = t__; } while(0)
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user