aboutsummaryrefslogtreecommitdiff
path: root/compiler.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-01-13 01:48:36 -0800
committerBruce Hill <bruce@bruce-hill.com>2021-01-13 01:48:36 -0800
commit45d7aff47545f52136487fbb5b06cdcf716cbe9f (patch)
tree38140eaa9d47cea8276e06cec93f0cb2988eae8d /compiler.h
parent7e4b287d9bd904aaf9cc2bf77cdd456194130e99 (diff)
Major overhaul of some of the memory tracking code, as well as some
cleanup of the compilation code.
Diffstat (limited to 'compiler.h')
-rw-r--r--compiler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler.h b/compiler.h
index 66af44f..3b61c17 100644
--- a/compiler.h
+++ b/compiler.h
@@ -7,6 +7,8 @@
#include "file_loader.h"
#include "types.h"
+__attribute__((nonnull))
+vm_op_t *new_op(file_t *f, const char *start, enum VMOpcode type);
__attribute__((nonnull(1,2)))
vm_op_t *bp_simplepattern(file_t *f, const char *str);
__attribute__((nonnull(1,2)))