aboutsummaryrefslogtreecommitdiff
path: root/vm.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-01-15 18:38:06 -0800
committerBruce Hill <bruce@bruce-hill.com>2021-01-15 18:38:06 -0800
commit813d9a76afb6dc3cd8f983c23bbd2e0d804a06df (patch)
treeb7440800c4416e4e7386fe5e3fcfeccd464e42af /vm.h
parent631e59bfa7e2f2c0050ad1a84ff70feb8768626d (diff)
Renaming op -> pat, phase 1 refactor
Diffstat (limited to 'vm.h')
-rw-r--r--vm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/vm.h b/vm.h
index de167b4..5f06b82 100644
--- a/vm.h
+++ b/vm.h
@@ -9,13 +9,13 @@
#include "types.h"
__attribute__((nonnull(2,4)))
-match_t *next_match(def_t *defs, file_t *f, match_t *prev, vm_op_t *op, unsigned int flags);
+match_t *next_match(def_t *defs, file_t *f, match_t *prev, pat_t *op, unsigned int flags);
__attribute__((hot, nonnull(2,3,4)))
-match_t *match(def_t *defs, file_t *f, const char *str, vm_op_t *op, unsigned int flags);
+match_t *match(def_t *defs, file_t *f, const char *str, pat_t *op, unsigned int flags);
__attribute__((nonnull))
match_t *get_capture(match_t *m, const char **id);
__attribute__((nonnull))
-void destroy_op(vm_op_t *op);
+void destroy_op(pat_t *op);
match_t *new_match(void);
__attribute__((nonnull))
void recycle_if_unused(match_t **at_m);