[svn:parrot] r49065 - branches/string_gc_encapsulate/src/gc

mikehh at svn.parrot.org mikehh at svn.parrot.org
Thu Sep 16 16:16:46 UTC 2010


Author: mikehh
Date: Thu Sep 16 16:16:45 2010
New Revision: 49065
URL: https://trac.parrot.org/parrot/changeset/49065

Log:
[string_gc_encapsulate] fix some codetest failures - add svn properties
add an ASSERT_ARGS and add/fix c_function docs

Modified:
   branches/string_gc_encapsulate/src/gc/string_gc.c   (contents, props changed)

Modified: branches/string_gc_encapsulate/src/gc/string_gc.c
==============================================================================
--- branches/string_gc_encapsulate/src/gc/string_gc.c	Thu Sep 16 15:51:25 2010	(r49064)
+++ branches/string_gc_encapsulate/src/gc/string_gc.c	Thu Sep 16 16:16:45 2010	(r49065)
@@ -206,8 +206,7 @@
 
 /*
 
-=item C<void Parrot_gc_destroy_memory_pools(PARROT_INTERP, Memory_Pools
-*mem_pools)>
+=item C<void Parrot_gc_str_finalize(PARROT_INTERP, String_GC *gc)>
 
 Destroys the memory pool and the constant string pool. Loop through both
 pools and destroy all memory blocks contained in them. Once all the
@@ -226,7 +225,16 @@
     free_memory_pool(gc->memory_pool);
 }
 
+/*
+
+=item C<void Parrot_gc_str_alloc_new_block( Memory_Pools *mem_pools, size_t
+size, Variable_Size_Pool *pool, const char *why)>
 
+Allocate a new string block
+
+=cut
+
+*/
 
 void
 Parrot_gc_str_alloc_new_block(
@@ -235,6 +243,8 @@
         ARGMOD(Variable_Size_Pool *pool),
         ARGIN(const char *why))
 {
+    ASSERT_ARGS(Parrot_gc_str_alloc_new_block)
+
     alloc_new_block(mem_pools, size, pool, why);
 }
 


More information about the parrot-commits mailing list