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

whiteknight at svn.parrot.org whiteknight at svn.parrot.org
Sat Jul 4 18:44:49 UTC 2009


Author: whiteknight
Date: Sat Jul  4 18:44:48 2009
New Revision: 39883
URL: https://trac.parrot.org/parrot/changeset/39883

Log:
[gc] make headerizer to fix problems with gc_unregister_pmc which were introduced for some systems in r39881

Modified:
   trunk/include/parrot/pmc.h

Modified: trunk/include/parrot/pmc.h
==============================================================================
--- trunk/include/parrot/pmc.h	Sat Jul  4 18:37:15 2009	(r39882)
+++ trunk/include/parrot/pmc.h	Sat Jul  4 18:44:48 2009	(r39883)
@@ -45,6 +45,11 @@
         __attribute__nonnull__(2);
 
 PARROT_EXPORT
+void gc_unregister_pmc(PARROT_INTERP, ARGIN(PMC *pmc))
+        __attribute__nonnull__(1)
+        __attribute__nonnull__(2);
+
+PARROT_EXPORT
 void Parrot_create_mro(PARROT_INTERP, INTVAL type)
         __attribute__nonnull__(1);
 
@@ -106,10 +111,6 @@
         __attribute__nonnull__(1)
         __attribute__nonnull__(2);
 
-void gc_unregister_pmc(PARROT_INTERP, ARGIN(PMC *pmc))
-        __attribute__nonnull__(1)
-        __attribute__nonnull__(2);
-
 INTVAL get_new_vtable_index(PARROT_INTERP)
         __attribute__nonnull__(1);
 
@@ -131,6 +132,9 @@
 #define ASSERT_ARGS_gc_register_pmc __attribute__unused__ int _ASSERT_ARGS_CHECK = \
        PARROT_ASSERT_ARG(interp) \
     || PARROT_ASSERT_ARG(pmc)
+#define ASSERT_ARGS_gc_unregister_pmc __attribute__unused__ int _ASSERT_ARGS_CHECK = \
+       PARROT_ASSERT_ARG(interp) \
+    || PARROT_ASSERT_ARG(pmc)
 #define ASSERT_ARGS_Parrot_create_mro __attribute__unused__ int _ASSERT_ARGS_CHECK = \
        PARROT_ASSERT_ARG(interp)
 #define ASSERT_ARGS_PMC_is_null __attribute__unused__ int _ASSERT_ARGS_CHECK = 0
@@ -156,9 +160,6 @@
 #define ASSERT_ARGS_pmc_type_p __attribute__unused__ int _ASSERT_ARGS_CHECK = \
        PARROT_ASSERT_ARG(interp) \
     || PARROT_ASSERT_ARG(name)
-#define ASSERT_ARGS_gc_unregister_pmc __attribute__unused__ int _ASSERT_ARGS_CHECK = \
-       PARROT_ASSERT_ARG(interp) \
-    || PARROT_ASSERT_ARG(pmc)
 #define ASSERT_ARGS_get_new_vtable_index __attribute__unused__ int _ASSERT_ARGS_CHECK = \
        PARROT_ASSERT_ARG(interp)
 #define ASSERT_ARGS_temporary_pmc_free __attribute__unused__ int _ASSERT_ARGS_CHECK = \


More information about the parrot-commits mailing list