Skip to content
This repository
Browse code

Don't export Parrot_PMC_mark

  • Loading branch information...
commit cd1edef38c9f7d4af8ec3229fa166e4fe92d21f6 1 parent a95f8c1
Duke Leto authored May 26, 2011
3  NEWS
... ...
@@ -1,7 +1,6 @@
1 1
 New in 3.5.0
2 2
 - Core
3  
-  + Parrot_PMC_destroy was removed from the public extension API, due to it
4  
-    not working correctly and it being part of GC internals.
  3
+  + Parrot_PMC_destroy and Parrot_PMC_mark were removed from the public extension API
5 4
 - Languages
6 5
 - Tests
7 6
   + The Parrot test suite harness now understands the HARNESS_TIMER environment
2  docs/embed.pod
Source Rendered
@@ -1209,8 +1209,6 @@ The list may also be augmented if additional functionality is required.
1209 1209
 
1210 1210
 =item C<Parrot_PMC_i_subtract_int>
1211 1211
 
1212  
-=item C<Parrot_PMC_mark>
1213  
-
1214 1212
 =item C<Parrot_PMC_modulus>
1215 1213
 
1216 1214
 =item C<Parrot_PMC_modulus_float>
4  lib/Parrot/Vtable.pm
@@ -317,7 +317,9 @@ sub vtbl_embed {
317 317
         }
318 318
 
319 319
         next if $@;
320  
-        next if $name eq "destroy";
  320
+
  321
+        # these are GC internals and should not be exposed
  322
+        next if $name =~ m/^(destroy|mark)$/;
321 323
 
322 324
         my $signature = join( ', ', @sig );
323 325
         my $arguments = join( ', ', @args );

0 notes on commit cd1edef

Please sign in to comment.
Something went wrong with that request. Please try again.