diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-10-20 09:48:38 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-10-20 09:48:38 +0100 |
commit | 81a923f452ade5c263d536ab9509f4be1fcd4e75 (patch) | |
tree | f055f2b8f7eec60789b8c001620c915e2bdeb5fa /proto.h | |
parent | 3e2f783e67807d5cec489704325d99148992cf37 (diff) | |
download | perl-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.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) |