From 60b3369ab24f9bd2a4a6d638ab1b3013ebc29814 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Thu, 20 Jun 2024 16:00:34 +0100 Subject: pass State *S everywhere contains changes from a million years ago that i don't remember much about --- state.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 state.h (limited to 'state.h') diff --git a/state.h b/state.h new file mode 100644 index 0000000..2316d1e --- /dev/null +++ b/state.h @@ -0,0 +1,15 @@ +#ifndef _state_h +#define _state_h + +typedef struct _state State; + +#include "vm.h" +#include "ht.h" + +struct _state { + Thread *th; + Ht strings; +}; +State state_new(); + +#endif -- cgit v1.2.3