summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-10-20 09:48:38 +0100
committerNicholas Clark <nick@ccl4.org>2009-10-20 09:48:38 +0100
commit81a923f452ade5c263d536ab9509f4be1fcd4e75 (patch)
treef055f2b8f7eec60789b8c001620c915e2bdeb5fa /proto.h
parent3e2f783e67807d5cec489704325d99148992cf37 (diff)
downloadperl-81a923f452ade5c263d536ab9509f4be1fcd4e75.tar.gz
Pull out filter setup code from S_swallow_bom() into S_add_utf16_textfilter()
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index b81d74912f..ca92cb9ce2 100644
--- a/proto.h
+++ b/proto.h
@@ -5788,6 +5788,11 @@ STATIC I32 S_utf16_textfilter(pTHX_ int idx, SV *sv, int maxlen)
#define PERL_ARGS_ASSERT_UTF16_TEXTFILTER \
assert(sv)
+STATIC U8* S_add_utf16_textfilter(pTHX_ U8 *const s, bool reversed)
+ __attribute__nonnull__(pTHX_1);
+#define PERL_ARGS_ASSERT_ADD_UTF16_TEXTFILTER \
+ assert(s)
+
#endif
STATIC void S_checkcomma(pTHX_ const char *s, const char *name, const char *what)
__attribute__nonnull__(pTHX_1)