diff options
author | Karl Williamson <khw@cpan.org> | 2016-04-12 12:49:36 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2016-05-24 10:28:37 -0600 |
commit | 78d57975d5aa732ef6dfba842558183e8880539c (patch) | |
tree | f9d343b504c7e1b5c0b2895cb4ae8d831f8135f5 /proto.h | |
parent | a4a439fb9cd74c575855119abb55dc091955bdf4 (diff) | |
download | perl-78d57975d5aa732ef6dfba842558183e8880539c.tar.gz |
mv function from locale.c to mathoms.c
The previous commit causes this function being moved to be just a
wrapper not called in core. Just in case someone is calling it, it is
retained, but moved to mathoms.c
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4430,7 +4430,7 @@ PERL_CALLCONV SV* Perl_hfree_next_entry(pTHX_ HV *hv, STRLEN *indexp); #define PERL_ARGS_ASSERT_HFREE_NEXT_ENTRY \ assert(hv); assert(indexp) #endif -#if defined(PERL_IN_LOCALE_C) || defined(PERL_IN_SV_C) +#if defined(PERL_IN_LOCALE_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_MATHOMS_C) # if defined(USE_LOCALE_COLLATE) PERL_CALLCONV char* Perl__mem_collxfrm(pTHX_ const char* input_string, STRLEN len, STRLEN* xlen, bool utf8); #define PERL_ARGS_ASSERT__MEM_COLLXFRM \ @@ -5792,9 +5792,11 @@ STATIC char* S_stdize_locale(pTHX_ char* locs); PERL_CALLCONV int Perl_magic_setcollxfrm(pTHX_ SV* sv, MAGIC* mg); #define PERL_ARGS_ASSERT_MAGIC_SETCOLLXFRM \ assert(sv); assert(mg) +#ifndef NO_MATHOMS PERL_CALLCONV char* Perl_mem_collxfrm(pTHX_ const char* input_string, STRLEN len, STRLEN* xlen); #define PERL_ARGS_ASSERT_MEM_COLLXFRM \ assert(input_string); assert(xlen) +#endif /* PERL_CALLCONV char* sv_collxfrm(pTHX_ SV *const sv, STRLEN *const nxp); */ PERL_CALLCONV char* Perl_sv_collxfrm_flags(pTHX_ SV *const sv, STRLEN *const nxp, I32 const flags); #define PERL_ARGS_ASSERT_SV_COLLXFRM_FLAGS \ |