diff options
Diffstat (limited to 'prism/regexp.h')
-rw-r--r-- | prism/regexp.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/prism/regexp.h b/prism/regexp.h index d401d1e06a..f92952d54a 100644 --- a/prism/regexp.h +++ b/prism/regexp.h @@ -29,8 +29,7 @@ typedef void (*pm_regexp_name_callback_t)(const pm_string_t *name, void *data); * @param size The size of the source code. * @param name_callback The callback to call when a named capture group is found. * @param name_data The data to pass to the name callback. - * @return Whether or not the parsing was successful. */ -PRISM_EXPORTED_FUNCTION bool pm_regexp_parse(pm_parser_t *parser, const uint8_t *source, size_t size, pm_regexp_name_callback_t name_callback, void *name_data); +PRISM_EXPORTED_FUNCTION void pm_regexp_parse(pm_parser_t *parser, const uint8_t *source, size_t size, pm_regexp_name_callback_t name_callback, void *name_data); #endif |