diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2022-10-23 00:15:49 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2022-10-23 00:15:49 -0400 |
| commit | 5db008dbd2084d90631b567ed5320566aa76b41c (patch) | |
| tree | 359b5b79bcc5c21b443b067a808cacb659ded1f6 /match.h | |
| parent | 23c64e386c7ea1d0054c37f945a6467dccdf2980 (diff) | |
Better JSON printing and fixed issue with numbered captures
Diffstat (limited to 'match.h')
| -rw-r--r-- | match.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ bool next_match_safe(match_t **m, const char *start, const char *end, pat_t *pat __attribute__((nonnull)) match_t *get_numbered_capture(match_t *m, int n); __attribute__((nonnull, pure)) -match_t *get_named_capture(match_t *m, const char *name, size_t namelen); +match_t *get_named_capture(match_t *m, const char *name, ssize_t namelen); #endif // vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 |
