diff options
author | Karl Williamson <khw@cpan.org> | 2019-09-11 22:08:24 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-09-15 10:39:56 -0600 |
commit | 86a87e17c5d1d82c2d23289eee5a7afc7bf11876 (patch) | |
tree | 463222e1d621661e2d4aa37ce14a5b6fa03b3a94 | |
parent | bdef45de9c7826f7f2eefe93a033a3f42f25608a (diff) | |
download | perl-86a87e17c5d1d82c2d23289eee5a7afc7bf11876.tar.gz |
embed.fnc: Add p flag for is_utf8_non_invariant_string()
This is because it has the X flag, which means the function is visible
on ELF systems.
-rw-r--r-- | embed.fnc | 2 | ||||
-rw-r--r-- | embed.h | 2 | ||||
-rw-r--r-- | inline.h | 2 | ||||
-rw-r--r-- | proto.h | 2 |
4 files changed, 4 insertions, 4 deletions
@@ -1015,7 +1015,7 @@ EiTRd |Size_t |variant_under_utf8_count|NN const U8* const s \ AmTdRP |bool |is_ascii_string|NN const U8* const s|STRLEN len AmTdRP |bool |is_invariant_string|NN const U8* const s|STRLEN len #if defined(PERL_CORE) || defined (PERL_EXT) -EXTidR |bool |is_utf8_non_invariant_string|NN const U8* const s \ +EXTidRp |bool |is_utf8_non_invariant_string|NN const U8* const s \ |STRLEN len #endif AbTpdD |STRLEN |is_utf8_char |NN const U8 *s @@ -1177,7 +1177,7 @@ #define sv_setsv_cow(a,b) Perl_sv_setsv_cow(aTHX_ a,b) # endif # if defined(PERL_CORE) || defined (PERL_EXT) -#define is_utf8_non_invariant_string S_is_utf8_non_invariant_string +#define is_utf8_non_invariant_string Perl_is_utf8_non_invariant_string #define sv_or_pv_pos_u2b(a,b,c,d) S_sv_or_pv_pos_u2b(aTHX_ a,b,c,d) # endif # if defined(PERL_CORE) || defined(PERL_EXT) @@ -775,7 +775,7 @@ at this low a level. A valid use case could change that. */ PERL_STATIC_INLINE bool -S_is_utf8_non_invariant_string(const U8* const s, STRLEN len) +Perl_is_utf8_non_invariant_string(const U8* const s, STRLEN len) { const U8 * first_variant; @@ -5140,7 +5140,7 @@ PERL_CALLCONV void Perl_Slab_to_rw(pTHX_ OPSLAB *const slab); #endif #if defined(PERL_CORE) || defined (PERL_EXT) #ifndef PERL_NO_INLINE_FUNCTIONS -PERL_STATIC_INLINE bool S_is_utf8_non_invariant_string(const U8* const s, STRLEN len) +PERL_STATIC_INLINE bool Perl_is_utf8_non_invariant_string(const U8* const s, STRLEN len) __attribute__warn_unused_result__; #define PERL_ARGS_ASSERT_IS_UTF8_NON_INVARIANT_STRING \ assert(s) |