summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-10-18 17:06:55 +0100
committerNicholas Clark <nick@ccl4.org>2009-10-18 17:48:10 +0100
commita28af015d589214a604c671d2bc6eb78eba99218 (patch)
treea4a12c3f4590e35b95ee4b5a15fd88027b31150b /proto.h
parent28c3d5f4a254cce07b783305aa5f3a842a9aecbc (diff)
downloadperl-a28af015d589214a604c671d2bc6eb78eba99218.tar.gz
Generate prototypes for utf16_textfilter and utf16rev_textfilter using embed.fnc
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 186bf40fbe..69a685277a 100644
--- a/proto.h
+++ b/proto.h
@@ -5764,6 +5764,18 @@ STATIC char* S_swallow_bom(pTHX_ U8 *s)
#define PERL_ARGS_ASSERT_SWALLOW_BOM \
assert(s)
+#ifndef PERL_NO_UTF16_FILTER
+STATIC I32 S_utf16_textfilter(pTHX_ int idx, SV *sv, int maxlen)
+ __attribute__nonnull__(pTHX_2);
+#define PERL_ARGS_ASSERT_UTF16_TEXTFILTER \
+ assert(sv)
+
+STATIC I32 S_utf16rev_textfilter(pTHX_ int idx, SV *sv, int maxlen)
+ __attribute__nonnull__(pTHX_2);
+#define PERL_ARGS_ASSERT_UTF16REV_TEXTFILTER \
+ assert(sv)
+
+#endif
STATIC void S_checkcomma(pTHX_ const char *s, const char *name, const char *what)
__attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_2)