diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-08-01 17:04:13 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-08-02 09:28:40 -0600 |
commit | 6ae172d09264ec7f9d8911353e13c74242736eb3 (patch) | |
tree | 12396d700f8d728ea2fc75b55e5ec0eb9f89adca | |
parent | b9c48b5b74957012d9ed4b6e6cc2e067f5af2f97 (diff) | |
download | perl-6ae172d09264ec7f9d8911353e13c74242736eb3.tar.gz |
regcomp.c: inline trivial static function
-rw-r--r-- | embed.fnc | 2 | ||||
-rw-r--r-- | proto.h | 2 | ||||
-rw-r--r-- | regcomp.c | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -1051,7 +1051,7 @@ Ap |SV* |regclass_swash |NULLOK const regexp *prog \ EMs |void |add_alternate |NN AV** alternate_ptr|NN U8* string|STRLEN len EMsR |SV* |_new_invlist_C_array|NN UV* list : Not used currently: EXMs |bool |_invlistEQ |NN SV* const a|NN SV* const b|bool complement_b -EMsR |bool |_invlist_contains_cp|NN SV* const invlist|const UV cp +EMiR |bool |_invlist_contains_cp|NN SV* const invlist|const UV cp #endif Ap |I32 |pregexec |NN REGEXP * const prog|NN char* stringarg \ |NN char* strend|NN char* strbeg|I32 minend \ @@ -6359,7 +6359,7 @@ PERL_STATIC_INLINE UV* S__invlist_array_init(pTHX_ SV* const invlist, const bool #define PERL_ARGS_ASSERT__INVLIST_ARRAY_INIT \ assert(invlist) -STATIC bool S__invlist_contains_cp(pTHX_ SV* const invlist, const UV cp) +PERL_STATIC_INLINE bool S__invlist_contains_cp(pTHX_ SV* const invlist, const UV cp) __attribute__warn_unused_result__ __attribute__nonnull__(pTHX_1); #define PERL_ARGS_ASSERT__INVLIST_CONTAINS_CP \ @@ -7946,7 +7946,7 @@ Perl__add_range_to_invlist(pTHX_ SV* invlist, const UV start, const UV end) #endif -STATIC bool +PERL_STATIC_INLINE bool S__invlist_contains_cp(pTHX_ SV* const invlist, const UV cp) { /* Does <invlist> contain code point <cp> as part of the set? */ |