This commit is contained in:
Judah Caruso 2026-02-18 23:43:27 -07:00
parent 93840bc2ab
commit b18962cc82
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,4 @@
#include <stdint.h>
#include <stddef.h>
#include <Block.h>
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 <Block.h>
#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__) = ^

View file

@ -20,6 +20,7 @@
#include "base.c"
#include "arena.c"
sg_pass_action pass_action;
static void