diff --git a/src/base.c b/src/base.c index 8c27450..642f6b6 100644 --- a/src/base.c +++ b/src/base.c @@ -1,6 +1,4 @@ #include -#include -#include typedef uint8_t u8; typedef uint16_t u16; @@ -30,6 +28,8 @@ typedef sptr sreg; #define bitcast(to_type, from_type, expr) (((union { from_type from; to_type to; }){_Generic(expr, from_type: expr)}).to) +#include + #define capture __block #define closure Block_copy @@ -43,4 +43,3 @@ static inline void __defer__exec(__defer__block *blk) { (*blk)(); } #define scope_exit \ __attribute__((cleanup(__defer__exec), unused)) \ __defer__block __concat(_defer_, __LINE__) = ^ - diff --git a/src/main.c b/src/main.c index f9c3d9f..0ca1e3e 100644 --- a/src/main.c +++ b/src/main.c @@ -20,6 +20,7 @@ #include "base.c" #include "arena.c" + sg_pass_action pass_action; static void