diff options
Diffstat (limited to 'vm.h')
-rw-r--r-- | vm.h | 18 |
1 files changed, 1 insertions, 17 deletions
@@ -8,23 +8,7 @@ typedef struct _thread Thread; #include "val.h" -#include "state.h" - -typedef struct { - struct { - size_t len; - size_t cap; - uint8_t *d; - } bc; - struct { - size_t len; - size_t cap; - Val *d; - } consts; -} Chunk; -Chunk chunk_new(State *S); -size_t chunk_wbc(State *S, Chunk *ch, uint8_t byte); -size_t chunk_wconst(State *S, Chunk *ch, Val v); +#include "com.h" #define STACKSIZE 128 typedef struct _thread { |