summaryrefslogtreecommitdiff
path: root/embed.h
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.h
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.h')
-rw-r--r--embed.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed.h b/embed.h
index 6aa7eb5c63..d334542dfb 100644
--- a/embed.h
+++ b/embed.h
@@ -867,6 +867,7 @@
# endif
# if defined(PERL_IN_REGCOMP_C)
#define add_alternate(a,b,c) S_add_alternate(aTHX_ a,b,c)
+#define add_cp_to_invlist(a,b) S_add_cp_to_invlist(aTHX_ a,b)
#define add_data S_add_data
#define add_range_to_invlist(a,b,c) S_add_range_to_invlist(aTHX_ a,b,c)
#define checkposixcc(a) S_checkposixcc(aTHX_ a)