From 2d109f974b6a03a79db3dd8a5ffe5c2aff76659e Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 12 Jan 2021 22:22:38 -0800 Subject: Some general cleanup, adding comments, adding more __attribute__s where applicable --- vm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vm.h') diff --git a/vm.h b/vm.h index b498b6c..6417f32 100644 --- a/vm.h +++ b/vm.h @@ -8,12 +8,12 @@ #include "types.h" -__attribute__((hot, nonnull(2,3,4))) +__attribute__((nonnull(2,3,4))) match_t *match(def_t *defs, file_t *f, const char *str, vm_op_t *op, unsigned int flags); __attribute__((nonnull)) void destroy_match(match_t **m); __attribute__((nonnull)) -match_t *get_capture(match_t *m, const char **r); +match_t *get_capture(match_t *m, const char **id); #endif // vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1 -- cgit v1.2.3