Author: bernhard
Date: Sun Jun 10 07:32:56 2007
New Revision: 18909

Modified:
   trunk/include/parrot/dod.h
   trunk/src/gc/dod.c

Log:
Give a PARROT_API to pobject_lives(),
as at least languages/dotnet uses it.


Modified: trunk/include/parrot/dod.h
==============================================================================
--- trunk/include/parrot/dod.h  (original)
+++ trunk/include/parrot/dod.h  Sun Jun 10 07:32:56 2007
@@ -83,11 +83,11 @@
 PARROT_API int Parrot_dod_trace_root( Interp *interp /*NN*/, int trace_stack )
         __attribute__nonnull__(1);
 
-void clear_cow( Interp *interp, Small_Object_Pool *pool /*NN*/, int cleanup )
+PARROT_API void pobject_lives( Interp *interp /*NN*/, PObj *obj /*NN*/ )
+        __attribute__nonnull__(1)
         __attribute__nonnull__(2);
 
-void pobject_lives( Interp *interp /*NN*/, PObj *obj /*NN*/ )
-        __attribute__nonnull__(1)
+void clear_cow( Interp *interp, Small_Object_Pool *pool /*NN*/, int cleanup )
         __attribute__nonnull__(2);
 
 void trace_mem_block( Interp *interp /*NN*/,

Modified: trunk/src/gc/dod.c
==============================================================================
--- trunk/src/gc/dod.c  (original)
+++ trunk/src/gc/dod.c  Sun Jun 10 07:32:56 2007
@@ -130,6 +130,7 @@
     }
 }
 
+PARROT_API
 void
 pobject_lives(Interp *interp /*NN*/, PObj *obj /*NN*/)
 {

Reply via email to