Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't export Parrot_PMC_mark

  • Loading branch information...
commit cd1edef38c9f7d4af8ec3229fa166e4fe92d21f6 1 parent a95f8c1
@leto leto authored
Showing with 4 additions and 5 deletions.
  1. +1 −2  NEWS
  2. +0 −2  docs/embed.pod
  3. +3 −1 lib/Parrot/Vtable.pm
View
3  NEWS
@@ -1,7 +1,6 @@
New in 3.5.0
- Core
- + Parrot_PMC_destroy was removed from the public extension API, due to it
- not working correctly and it being part of GC internals.
+ + Parrot_PMC_destroy and Parrot_PMC_mark were removed from the public extension API
- Languages
- Tests
+ The Parrot test suite harness now understands the HARNESS_TIMER environment
View
2  docs/embed.pod
@@ -1209,8 +1209,6 @@ The list may also be augmented if additional functionality is required.
=item C<Parrot_PMC_i_subtract_int>
-=item C<Parrot_PMC_mark>
-
=item C<Parrot_PMC_modulus>
=item C<Parrot_PMC_modulus_float>
View
4 lib/Parrot/Vtable.pm
@@ -317,7 +317,9 @@ sub vtbl_embed {
}
next if $@;
- next if $name eq "destroy";
+
+ # these are GC internals and should not be exposed
+ next if $name =~ m/^(destroy|mark)$/;
my $signature = join( ', ', @sig );
my $arguments = join( ', ', @args );
Please sign in to comment.
Something went wrong with that request. Please try again.