diff options
author | Karl Williamson <khw@cpan.org> | 2016-02-27 13:54:51 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2016-02-27 18:08:36 -0700 |
commit | e7d603c00cb813983ddd3206655540d997d10e29 (patch) | |
tree | 2f5b0e525d7d286401202d32de7e089ac411050a /proto.h | |
parent | acb2202e0b234a5f6166a7379a38128ab1e049e5 (diff) | |
download | perl-e7d603c00cb813983ddd3206655540d997d10e29.tar.gz |
regcomp.c: Add new static inline convenience function
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -4749,6 +4749,9 @@ STATIC int S_handle_possible_posix(pTHX_ RExC_state_t *pRExC_state, const char* STATIC regnode* S_handle_regex_sets(pTHX_ RExC_state_t *pRExC_state, SV ** return_invlist, I32 *flagp, U32 depth, char * const oregcomp_parse); #define PERL_ARGS_ASSERT_HANDLE_REGEX_SETS \ assert(pRExC_state); assert(flagp); assert(oregcomp_parse) +PERL_STATIC_INLINE void S_invlist_clear(pTHX_ SV* invlist); +#define PERL_ARGS_ASSERT_INVLIST_CLEAR \ + assert(invlist) PERL_STATIC_INLINE SV* S_invlist_clone(pTHX_ SV* const invlist) __attribute__warn_unused_result__; #define PERL_ARGS_ASSERT_INVLIST_CLONE \ |