This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
move functions marked as mathomed in embed.fnc to mathoms.c
authorDaniel Dragan <bulk88@hotmail.com>
Tue, 20 Jan 2015 12:51:13 +0000 (07:51 -0500)
committerSteve Hay <steve.m.hay@googlemail.com>
Tue, 27 Jan 2015 08:19:22 +0000 (08:19 +0000)
commite4524c4c2a2abf2b0b0a22c933ef56ed5d17f89e
treef3677209892e944580f53380fe15a1230668d9db
parent1b3da025c55a48511e8e3b0b8b4cfd716c047d83
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
ext/Win32CORE/Win32CORE.c
mathoms.c
sv.c
utf8.c