aboutsummaryrefslogtreecommitdiffstats
path: root/clox/src/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'clox/src/debug.h')
-rw-r--r--clox/src/debug.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/clox/src/debug.h b/clox/src/debug.h
new file mode 100644
index 0000000..5731d05
--- /dev/null
+++ b/clox/src/debug.h
@@ -0,0 +1,9 @@
+#ifndef clox_debug_h
+#define clox_debug_h
+
+#include "chunk.h"
+
+void disassembleChunk(Chunk* chunk, const char* name);
+int disassembleInstruction(Chunk* chunk, int offset);
+
+#endif