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 /mathoms.c | |
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 'mathoms.c')
-rw-r--r-- | mathoms.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1096,6 +1096,18 @@ Perl_sv_collxfrm(pTHX_ SV *const sv, STRLEN *const nxp) { return sv_collxfrm_flags(sv, nxp, SV_GMAGIC); } + +char * +Perl_mem_collxfrm(pTHX_ const char *input_string, STRLEN len, STRLEN *xlen) +{ + /* This function is retained for compatibility in case someone outside core + * is using this (but it is undocumented) */ + + PERL_ARGS_ASSERT_MEM_COLLXFRM; + + return _mem_collxfrm(input_string, len, xlen, FALSE); +} + #endif bool |