diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-08-23 10:19:51 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-08-25 23:21:27 -0600 |
commit | 29f51c6b1e5614efba92db8b7bc3957bbb9b7942 (patch) | |
tree | e3fa3ead9cfd287d7df90deb887377daea64d507 /proto.h | |
parent | d9fc63914cfd6be5f4edb7b5a9cdd5da0c450491 (diff) | |
download | perl-29f51c6b1e5614efba92db8b7bc3957bbb9b7942.tar.gz |
regcomp.c: Rename 2 functions to indicate private nature
These two functions will be moved into a header in a future commit,
where they will be accessible outside regcomp.c Prefix their names with
an underscore to emphasize that they are private
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -6366,6 +6366,12 @@ STATIC void S__append_range_to_invlist(pTHX_ SV* const invlist, const UV start, #define PERL_ARGS_ASSERT__APPEND_RANGE_TO_INVLIST \ assert(invlist) +PERL_STATIC_INLINE UV* S__get_invlist_len_addr(pTHX_ SV* invlist) + __attribute__warn_unused_result__ + __attribute__nonnull__(pTHX_1); +#define PERL_ARGS_ASSERT__GET_INVLIST_LEN_ADDR \ + assert(invlist) + PERL_STATIC_INLINE UV* S__invlist_array_init(pTHX_ SV* const invlist, const bool will_have_0) __attribute__warn_unused_result__ __attribute__nonnull__(pTHX_1); @@ -6378,6 +6384,12 @@ PERL_STATIC_INLINE bool S__invlist_contains_cp(pTHX_ SV* const invlist, const UV #define PERL_ARGS_ASSERT__INVLIST_CONTAINS_CP \ assert(invlist) +PERL_STATIC_INLINE UV S__invlist_len(pTHX_ SV* const invlist) + __attribute__warn_unused_result__ + __attribute__nonnull__(pTHX_1); +#define PERL_ARGS_ASSERT__INVLIST_LEN \ + assert(invlist) + PERL_CALLCONV IV Perl__invlist_search(pTHX_ SV* const invlist, const UV cp) __attribute__warn_unused_result__ __attribute__nonnull__(pTHX_1); @@ -6460,12 +6472,6 @@ PERL_STATIC_INLINE UV* S_get_invlist_iter_addr(pTHX_ SV* invlist) #define PERL_ARGS_ASSERT_GET_INVLIST_ITER_ADDR \ assert(invlist) -PERL_STATIC_INLINE UV* S_get_invlist_len_addr(pTHX_ SV* invlist) - __attribute__warn_unused_result__ - __attribute__nonnull__(pTHX_1); -#define PERL_ARGS_ASSERT_GET_INVLIST_LEN_ADDR \ - assert(invlist) - PERL_STATIC_INLINE UV* S_get_invlist_version_id_addr(pTHX_ SV* invlist) __attribute__warn_unused_result__ __attribute__nonnull__(pTHX_1); @@ -6520,12 +6526,6 @@ STATIC bool S_invlist_iternext(pTHX_ SV* invlist, UV* start, UV* end) #define PERL_ARGS_ASSERT_INVLIST_ITERNEXT \ assert(invlist); assert(start); assert(end) -PERL_STATIC_INLINE UV S_invlist_len(pTHX_ SV* const invlist) - __attribute__warn_unused_result__ - __attribute__nonnull__(pTHX_1); -#define PERL_ARGS_ASSERT_INVLIST_LEN \ - assert(invlist) - PERL_STATIC_INLINE UV S_invlist_max(pTHX_ SV* const invlist) __attribute__warn_unused_result__ __attribute__nonnull__(pTHX_1); |