1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#ifndef ASSETS_H #define ASSETS_H #include <stddef.h> struct asset { void *data; size_t size; }; #define BIE_ENTRY(name, pos, size) extern struct asset name; #include "assets.idx" #undef BIE_ENTRY #endif // ASSETS_H