[svn:parrot] r44249 - trunk/include/parrot

fperrad at svn.parrot.org fperrad at svn.parrot.org
Sat Feb 20 20:53:20 UTC 2010


Author: fperrad
Date: Sat Feb 20 20:53:18 2010
New Revision: 44249
URL: https://trac.parrot.org/parrot/changeset/44249

Log:
allows compatibility between before/after r44190

Modified:
   trunk/include/parrot/pmc.h

Modified: trunk/include/parrot/pmc.h
==============================================================================
--- trunk/include/parrot/pmc.h	Sat Feb 20 20:19:15 2010	(r44248)
+++ trunk/include/parrot/pmc.h	Sat Feb 20 20:53:18 2010	(r44249)
@@ -199,6 +199,24 @@
 /* Don't modify between HEADERIZER BEGIN / HEADERIZER END.  Your changes will be lost. */
 /* HEADERIZER END: src/pmc.c */
 
+/* Allows compatibility with old name (see r44190) */
+#define Parrot_create_mro       Parrot_pmc_create_mro
+#define PMC_is_null             Parrot_pmc_is_null
+#define constant_pmc_new        Parrot_pmc_new_constant
+#define constant_pmc_new_init   Parrot_pmc_new_constant_init
+#define gc_register_pmc         Parrot_pmc_gc_register
+#define gc_unregister_pmc       Parrot_pmc_gc_unregister
+#define pmc_new                 Parrot_pmc_new
+#define pmc_new_init            Parrot_pmc_new_init
+#define pmc_new_noinit          Parrot_pmc_new_noinit
+#define pmc_register            Parrot_pmc_register_new_type
+#define pmc_reuse               Parrot_pmc_reuse
+#define pmc_reuse_by_class      Parrot_pmc_reuse_by_class
+#define pmc_reuse_init          Parrot_pmc_reuse_init
+#define pmc_reuse_no_init       Parrot_pmc_reuse_noinit
+#define pmc_type                Parrot_pmc_get_type_str
+#define pmc_type_p              Parrot_pmc_get_type
+
 #endif /* PARROT_PMC_H_GUARD */
 
 /*


More information about the parrot-commits mailing list