summaryrefslogtreecommitdiff
path: root/chunk.h
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-06-24 16:52:31 +0100
committerubq323 <ubq323@ubq323.website>2024-06-24 16:52:31 +0100
commitbea93dc98b602472bb36635dfdf425d14d826673 (patch)
treeedd93b1a61cc1aeeb6849de88b25fe737c249b2d /chunk.h
parentb2c8538a45aeb154d7cb8ced6ea6a8e0eafb0814 (diff)
chunk_wconst -> compile_constant
Diffstat (limited to 'chunk.h')
-rw-r--r--chunk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chunk.h b/chunk.h
index 36452fb..ba01614 100644
--- a/chunk.h
+++ b/chunk.h
@@ -20,6 +20,6 @@ struct _chunk {
};
Chunk chunk_new(State *S);
size_t compile_opcode(Compiler *C, uint8_t byte);
-size_t chunk_wconst(Compiler *C, Val v);
+size_t compile_constant(Compiler *C, Val v);
#endif