diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-08-01 14:49:39 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-08-02 09:24:53 -0600 |
commit | b9e8c997b9a1c15e919ad20df9ba2f1501c64d76 (patch) | |
tree | ccbdd2a8d3502df647e6f1edc4f7c29c3bf44c20 /embed.h | |
parent | 26faadbdfacc510abb04832e4c81d1f71329c697 (diff) | |
download | perl-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |