summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-08-01 14:49:39 -0600
committerKarl Williamson <public@khwilliamson.com>2012-08-02 09:24:53 -0600
commitb9e8c997b9a1c15e919ad20df9ba2f1501c64d76 (patch)
treeccbdd2a8d3502df647e6f1edc4f7c29c3bf44c20 /embed.h
parent26faadbdfacc510abb04832e4c81d1f71329c697 (diff)
downloadperl-b9e8c997b9a1c15e919ad20df9ba2f1501c64d76.tar.gz
regcomp.c: Revise API for static function
This is to allow future changes. The function now returns success or failure, and the created regnode (if any) is set via a parameter pointer. I removed the 'register' declaration to get this to work, because such declarations are considered bad form these days, e.g., http://stackoverflow.com/questions/314994/whats-a-good-example-of-register-variable-usage-in-c
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.h b/embed.h
index 027a5f33e3..2eb01b961a 100644
--- a/embed.h
+++ b/embed.h
@@ -920,7 +920,7 @@
#define get_invlist_len_addr(a) S_get_invlist_len_addr(aTHX_ a)
#define get_invlist_version_id_addr(a) S_get_invlist_version_id_addr(aTHX_ a)
#define get_invlist_zero_addr(a) S_get_invlist_zero_addr(aTHX_ a)
-#define grok_bslash_N(a,b,c,d) S_grok_bslash_N(aTHX_ a,b,c,d)
+#define grok_bslash_N(a,b,c,d,e,f) S_grok_bslash_N(aTHX_ a,b,c,d,e,f)
#define invlist_array(a) S_invlist_array(aTHX_ a)
#define invlist_clone(a) S_invlist_clone(aTHX_ a)
#define invlist_extend(a,b) S_invlist_extend(aTHX_ a,b)