summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-02-27 17:51:33 -0700
committerKarl Williamson <public@khwilliamson.com>2011-02-27 19:21:32 -0700
commitc229b64cfdf63c0671f41130fa3b2bb15dbf9779 (patch)
treec7a7104316a38747b25c453e723a0d8b0d8e17f5 /embed.fnc
parentc93d5d8be00caac56508448f35362b1b3fa58f02 (diff)
downloadperl-c229b64cfdf63c0671f41130fa3b2bb15dbf9779.tar.gz
regcomp.c: Add fcn add_cp_to_invlist()
This is just an inline shorthand when a single code point is all that is needed. A macro could have been used instead, but this just seemed nicer.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed.fnc b/embed.fnc
index 1a18a3ab62..eb915efc61 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1301,6 +1301,7 @@ EXMpR |HV* |_new_invlist |IV initial_size
EXMpR |HV* |_swash_to_invlist |NN SV* const swash
EXMp |void |_append_range_to_invlist |NN HV* const invlist|const UV start|const UV end
#ifdef PERL_IN_REGCOMP_C
+EiMR |HV* |add_cp_to_invlist |NULLOK HV* invlist|const UV cp
EsMR |HV* |add_range_to_invlist |NULLOK HV* invlist|const UV start|const UV end
EiMR |UV* |invlist_array |NN HV* const invlist
EiM |void |invlist_destroy |NN HV* const invlist