comparison libmlk-core/mlk/core/alloc.c @ 486:d6757c30658e

core: rework errors
author David Demelier <markand@malikania.fr>
date Tue, 28 Feb 2023 13:04:13 +0100
parents 01f5580e43d1
children a11cd7ea3a37
comparison
equal deleted inserted replaced
485:3ff1fe64d0cd 486:d6757c30658e
22 #include <string.h> 22 #include <string.h>
23 23
24 #include <SDL.h> 24 #include <SDL.h>
25 25
26 #include "alloc.h" 26 #include "alloc.h"
27 #include "error.h"
28 #include "panic.h" 27 #include "panic.h"
29 28
30 #define OOM_MSG "out of memory" 29 #define OOM_MSG "out of memory"
31 #define BLKSIZE (offsetof (struct block, data)) 30 #define BLKSIZE (offsetof (struct block, data))
32 31