Skip to content

Commit

Permalink
Don't export Parrot_PMC_mark
Browse files Browse the repository at this point in the history
  • Loading branch information
leto committed May 27, 2011
1 parent a95f8c1 commit cd1edef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions 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
Expand Down
2 changes: 0 additions & 2 deletions docs/embed.pod
Expand Up @@ -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>
Expand Down
4 changes: 3 additions & 1 deletion lib/Parrot/Vtable.pm
Expand Up @@ -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 );
Expand Down

0 comments on commit cd1edef

Please sign in to comment.