Skip to content

Commit 19d002c

Browse files
committed
makedef
1 parent 9bb2fdd commit 19d002c

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

embed.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,7 @@
694694
# undef is_c9strict_utf8_string_loc
695695
# undef is_c9strict_utf8_string_loclen
696696
# undef is_codeset_name_UTF8
697+
# undef is_existing_identifier
697698
# undef is_fork_open
698699
# undef is_grapheme
699700
# undef is_handle_constructor
@@ -1145,6 +1146,7 @@
11451146
# undef parse_fullstmt
11461147
# undef parse_gv_stash_name
11471148
# undef parse_ident
1149+
# undef parse_ident_no_copy
11481150
# undef parse_label
11491151
# undef parse_LC_ALL_string
11501152
# undef parse_listexpr

makedef.pl

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,9 @@ sub readvar {
467467
if (!$define{USE_ITHREADS} || $define{WIN32}) {
468468
++$skip{PL_main_thread};
469469
}
470+
if ($define{USE_ITHREADS}) {
471+
++$skip{Perl_CopFILEGV_set};
472+
}
470473

471474
unless ($define{USE_POSIX_2008_LOCALE})
472475
{
@@ -794,15 +797,17 @@ sub readvar {
794797
{
795798
my %seen;
796799
my ($embed_array) = setup_embed($ARGS{TARG_DIR});
797-
my $excludedre = $define{'NO_MATHOMS'} ? qr/[emiIsb]/ : qr/[emiIs]/;
800+
my $excludedre = $define{'NO_MATHOMS'} ? qr/[eiIsb]/ : qr/[eiIs]/;
798801

799802
foreach (@$embed_array) {
800803
my $embed= $_->{embed}
801804
or next;
802805
my ($flags, $retval, $func, $args) = @{$embed}{qw(flags return_type name args)};
803806
next unless $func;
804-
if (($flags =~ /[AXC]/ && $flags !~ $excludedre)
805-
|| (!$define{'NO_MATHOMS'} && $flags =~ /b/))
807+
next if $flags =~ /u/;
808+
if ( ($flags =~ /[AXC]/ && $flags !~ $excludedre)
809+
|| (!$define{'NO_MATHOMS'} && $flags =~ /b/)
810+
|| ($flags =~ tr/mp// > 1))
806811
{
807812
# public API, so export
808813

0 commit comments

Comments
 (0)