fix mixing up of SDL and libc allocators, proper flushing of quad build buffers
This commit is contained in:
@ -18,12 +18,9 @@
|
||||
#define DEG2RAD (M_PI / 180)
|
||||
#define RAD2DEG (180 / M_PI)
|
||||
|
||||
/* TODO: shouldn't be a thing */
|
||||
#ifndef TWN_NOT_C
|
||||
|
||||
TWN_API void *cmalloc(size_t size);
|
||||
TWN_API void *crealloc(void *ptr, size_t size);
|
||||
TWN_API void *ccalloc(size_t num, size_t size);
|
||||
|
||||
TWN_API void log_info(const char *restrict format, ...);
|
||||
TWN_API void log_critical(const char *restrict format, ...);
|
||||
TWN_API void log_warn(const char *restrict format, ...);
|
||||
|
Reference in New Issue
Block a user