aboutsummaryrefslogtreecommitdiff
path: root/vm.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-01-12 22:22:38 -0800
committerBruce Hill <bruce@bruce-hill.com>2021-01-12 22:22:38 -0800
commit2d109f974b6a03a79db3dd8a5ffe5c2aff76659e (patch)
tree082415222af72e0ac17eac9260a5e5a1ce59221a /vm.h
parent5811ff4554da3d980ff32a83efa35ea1a4512484 (diff)
Some general cleanup, adding comments, adding more __attribute__s where
applicable
Diffstat (limited to 'vm.h')
-rw-r--r--vm.h4
1 files changed, 2 insertions, 2 deletions
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