summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-06-05 12:20:57 -0600
committerKarl Williamson <public@khwilliamson.com>2011-07-03 14:05:48 -0600
commit37e85ffe6b230b2dfde9e13a9eab4675c411467a (patch)
treede161862d7763466ca7f8c10da9942ea09651905 /proto.h
parent360c367a522bc597ad7d763d8f1c818dbece2dea (diff)
downloadperl-37e85ffe6b230b2dfde9e13a9eab4675c411467a.tar.gz
Change names of some inversion list functions
The names now begin with an underscore to emphasize that they are for internal use only. This is in preparation for making them accessible beyond regcomp.c.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/proto.h b/proto.h
index be4dfb4029..8d02302b62 100644
--- a/proto.h
+++ b/proto.h
@@ -5992,6 +5992,32 @@ PERL_STATIC_INLINE UV* S__invlist_array_init(pTHX_ SV* const invlist, const bool
#define PERL_ARGS_ASSERT__INVLIST_ARRAY_INIT \
assert(invlist)
+STATIC void S__invlist_intersection(pTHX_ SV* const a, SV* const b, SV** i)
+ __attribute__nonnull__(pTHX_1)
+ __attribute__nonnull__(pTHX_2)
+ __attribute__nonnull__(pTHX_3);
+#define PERL_ARGS_ASSERT__INVLIST_INTERSECTION \
+ assert(a); assert(b); assert(i)
+
+PERL_STATIC_INLINE void S__invlist_invert(pTHX_ SV* const invlist)
+ __attribute__nonnull__(pTHX_1);
+#define PERL_ARGS_ASSERT__INVLIST_INVERT \
+ assert(invlist)
+
+STATIC void S__invlist_subtract(pTHX_ SV* const a, SV* const b, SV** result)
+ __attribute__nonnull__(pTHX_1)
+ __attribute__nonnull__(pTHX_2)
+ __attribute__nonnull__(pTHX_3);
+#define PERL_ARGS_ASSERT__INVLIST_SUBTRACT \
+ assert(a); assert(b); assert(result)
+
+STATIC void S__invlist_union(pTHX_ SV* const a, SV* const b, SV** output)
+ __attribute__nonnull__(pTHX_1)
+ __attribute__nonnull__(pTHX_2)
+ __attribute__nonnull__(pTHX_3);
+#define PERL_ARGS_ASSERT__INVLIST_UNION \
+ assert(a); assert(b); assert(output)
+
STATIC void S_add_alternate(pTHX_ AV** alternate_ptr, U8* string, STRLEN len)
__attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_2);
@@ -6082,18 +6108,6 @@ STATIC void S_invlist_extend(pTHX_ SV* const invlist, const UV len)
#define PERL_ARGS_ASSERT_INVLIST_EXTEND \
assert(invlist)
-STATIC void S_invlist_intersection(pTHX_ SV* const a, SV* const b, SV** i)
- __attribute__nonnull__(pTHX_1)
- __attribute__nonnull__(pTHX_2)
- __attribute__nonnull__(pTHX_3);
-#define PERL_ARGS_ASSERT_INVLIST_INTERSECTION \
- assert(a); assert(b); assert(i)
-
-PERL_STATIC_INLINE void S_invlist_invert(pTHX_ SV* const invlist)
- __attribute__nonnull__(pTHX_1);
-#define PERL_ARGS_ASSERT_INVLIST_INVERT \
- assert(invlist)
-
PERL_STATIC_INLINE void S_invlist_iterinit(pTHX_ SV* invlist)
__attribute__nonnull__(pTHX_1);
#define PERL_ARGS_ASSERT_INVLIST_ITERINIT \
@@ -6124,25 +6138,11 @@ PERL_STATIC_INLINE void S_invlist_set_len(pTHX_ SV* const invlist, const UV len)
#define PERL_ARGS_ASSERT_INVLIST_SET_LEN \
assert(invlist)
-STATIC void S_invlist_subtract(pTHX_ SV* const a, SV* const b, SV** result)
- __attribute__nonnull__(pTHX_1)
- __attribute__nonnull__(pTHX_2)
- __attribute__nonnull__(pTHX_3);
-#define PERL_ARGS_ASSERT_INVLIST_SUBTRACT \
- assert(a); assert(b); assert(result)
-
PERL_STATIC_INLINE void S_invlist_trim(pTHX_ SV* const invlist)
__attribute__nonnull__(pTHX_1);
#define PERL_ARGS_ASSERT_INVLIST_TRIM \
assert(invlist)
-STATIC void S_invlist_union(pTHX_ SV* const a, SV* const b, SV** output)
- __attribute__nonnull__(pTHX_1)
- __attribute__nonnull__(pTHX_2)
- __attribute__nonnull__(pTHX_3);
-#define PERL_ARGS_ASSERT_INVLIST_UNION \
- assert(a); assert(b); assert(output)
-
STATIC U32 S_join_exact(pTHX_ struct RExC_state_t *pRExC_state, regnode *scan, I32 *min, U32 flags, regnode *val, U32 depth)
__attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_2)