[svn:parrot] r38750 - in trunk: . include/parrot

whiteknight at svn.parrot.org whiteknight at svn.parrot.org
Wed May 13 14:43:35 UTC 2009


Author: whiteknight
Date: Wed May 13 14:43:34 2009
New Revision: 38750
URL: https://trac.parrot.org/parrot/changeset/38750

Log:
temporary fix and deprecation node for TT #664

Modified:
   trunk/DEPRECATED.pod
   trunk/include/parrot/gc_api.h

Modified: trunk/DEPRECATED.pod
==============================================================================
--- trunk/DEPRECATED.pod	Wed May 13 12:31:07 2009	(r38749)
+++ trunk/DEPRECATED.pod	Wed May 13 14:43:34 2009	(r38750)
@@ -230,6 +230,10 @@
 
 L<https://trac.parrot.org/parrot/ticket/625>
 
+=item pobject_lives [eligible in 1.5]
+
+L<https://trac.parrot.org/parrot/ticket/664>
+
 =back
 
 =head1 Compiler tools

Modified: trunk/include/parrot/gc_api.h
==============================================================================
--- trunk/include/parrot/gc_api.h	Wed May 13 12:31:07 2009	(r38749)
+++ trunk/include/parrot/gc_api.h	Wed May 13 14:43:34 2009	(r38750)
@@ -456,6 +456,11 @@
 /* Don't modify between HEADERIZER BEGIN / HEADERIZER END.  Your changes will be lost. */
 /* HEADERIZER END: src/gc/api.c */
 
+/* DEPRECATED. pobject_lives is being renamed to Parrot_gc_mark_PObj_alive.
+   this macro is provided for compatibility until version 1.4 or later when
+   it can be removed per the deprecation policy. See TT #664 for details */
+#define pobject_lives Parrot_gc_mark_PObj_alive
+
 /* write barrier */
 #if PARROT_GC_MS
 #  define GC_WRITE_BARRIER(interp, agg, old, _new) do { } while (0)


More information about the parrot-commits mailing list