From 813d9a76afb6dc3cd8f983c23bbd2e0d804a06df Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 15 Jan 2021 18:38:06 -0800 Subject: Renaming op -> pat, phase 1 refactor --- vm.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vm.h') 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); -- cgit v1.2.3