[svn:parrot] r43685 - branches/gc_encapsulate/src/gc

bacek at svn.parrot.org bacek at svn.parrot.org
Mon Feb 1 13:27:34 UTC 2010


Author: bacek
Date: Mon Feb  1 13:27:34 2010
New Revision: 43685
URL: https://trac.parrot.org/parrot/changeset/43685

Log:
Add stub for gc_ms_free_buffer

Modified:
   branches/gc_encapsulate/src/gc/gc_ms.c

Modified: branches/gc_encapsulate/src/gc/gc_ms.c
==============================================================================
--- branches/gc_encapsulate/src/gc/gc_ms.c	Mon Feb  1 13:18:11 2010	(r43684)
+++ branches/gc_encapsulate/src/gc/gc_ms.c	Mon Feb  1 13:27:34 2010	(r43685)
@@ -79,6 +79,9 @@
         __attribute__nonnull__(1)
         __attribute__nonnull__(2);
 
+static void* gc_ms_free_buffer(PARROT_INTERP, void *data)
+        __attribute__nonnull__(1);
+
 static void gc_ms_free_pmc_header(PARROT_INTERP, ARGFREE(PMC *pmc))
         __attribute__nonnull__(1);
 
@@ -189,6 +192,8 @@
 #define ASSERT_ARGS_gc_ms_free_attributes __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
        PARROT_ASSERT_ARG(interp) \
     , PARROT_ASSERT_ARG(pmc))
+#define ASSERT_ARGS_gc_ms_free_buffer __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
+       PARROT_ASSERT_ARG(interp))
 #define ASSERT_ARGS_gc_ms_free_pmc_header __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
        PARROT_ASSERT_ARG(interp))
 #define ASSERT_ARGS_gc_ms_free_string_header __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
@@ -270,6 +275,7 @@
     gc->allocate_buffer               = gc_ms_allocate_buffer;
     gc->reallocate_buffer             = gc_ms_reallocate_buffer;
     gc->allocate_buffer_with_pointers = gc_ms_allocate_buffer_with_pointers;
+    gc->free_buffer                   = gc_ms_free_buffer;
 
     gc->block_gc_mark           = gc_ms_block_gc_mark;
     gc->unblock_gc_mark         = gc_ms_unblock_gc_mark;
@@ -629,6 +635,11 @@
     return Parrot_gc_get_attributes_from_pool(interp, pool);
 }
 
+static void*
+gc_ms_free_buffer(PARROT_INTERP, void *data)
+{
+}
+
 static void
 gc_ms_block_gc_mark(PARROT_INTERP)
 {


More information about the parrot-commits mailing list