summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorDaniel Dragan <bulk88@hotmail.com>2015-01-20 07:51:13 -0500
committerSteve Hay <steve.m.hay@googlemail.com>2015-01-27 08:19:22 +0000
commite4524c4c2a2abf2b0b0a22c933ef56ed5d17f89e (patch)
treef3677209892e944580f53380fe15a1230668d9db /sv.c
parent1b3da025c55a48511e8e3b0b8b4cfd716c047d83 (diff)
downloadperl-e4524c4c2a2abf2b0b0a22c933ef56ed5d17f89e.tar.gz
move functions marked as mathomed in embed.fnc to mathoms.c
Ever since commit 075eb5c9b6 mathom functions must be in mathoms.c for their symbols to be skipped in makedef.pl on Win32 Perl. If a function is marked 'b' in embed.fnc, regen.pl does NOT add its prototype to proto.h (it is commented out). Without the proto.h entry, EXTERN_C will be missing and a -DNO_MATHOMS + C++ Win32 Perl build will not link, since the C function will have a mangled name and the symbol will not be found for creating the perl linking library. Also add EXTERN_C to Win32CORE, the init_Win32CORE symbol is special cased for exporting in makedef.pl. Perl_is_utf8_char_buf was marked as 'b' in commit 3cedd9d930 Perl_sv_copypv was marked as 'b' in commit 4bac9ae47b
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sv.c b/sv.c
index d936dfcb4d..1e85a727a7 100644
--- a/sv.c
+++ b/sv.c
@@ -3250,14 +3250,6 @@ include SV_GMAGIC.
*/
void
-Perl_sv_copypv(pTHX_ SV *const dsv, SV *const ssv)
-{
- PERL_ARGS_ASSERT_SV_COPYPV;
-
- sv_copypv_flags(dsv, ssv, 0);
-}
-
-void
Perl_sv_copypv_flags(pTHX_ SV *const dsv, SV *const ssv, const I32 flags)
{
STRLEN len;