summaryrefslogtreecommitdiff
path: root/dis.h
diff options
context:
space:
mode:
Diffstat (limited to 'dis.h')
-rw-r--r--dis.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dis.h b/dis.h
index 47aff62..8a26c8a 100644
--- a/dis.h
+++ b/dis.h
@@ -4,5 +4,7 @@
#include "vm.h"
void disasm_chunk(Chunk *ch);
+// returns length of disasmed instr in bytes
+size_t disasm_instr(Chunk *ch, size_t ip);
#endif