1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#ifndef _state_h #define _state_h typedef struct _state State; #include "vm.h" #include "ht.h" struct _state { Thread *th; Ht strings; Ht globals; bool do_disasm; bool do_trace; bool do_dumpsexpr; }; State state_new(); #endif