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

bacek at svn.parrot.org bacek at svn.parrot.org
Thu Sep 16 20:38:58 UTC 2010


Author: bacek
Date: Thu Sep 16 20:38:57 2010
New Revision: 49068
URL: https://trac.parrot.org/parrot/changeset/49068

Log:
[cage] Add ASSERT_ARGS macros

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

Modified: branches/string_gc_encapsulate/src/gc/gc_ms.c
==============================================================================
--- branches/string_gc_encapsulate/src/gc/gc_ms.c	Thu Sep 16 20:35:44 2010	(r49067)
+++ branches/string_gc_encapsulate/src/gc/gc_ms.c	Thu Sep 16 20:38:57 2010	(r49068)
@@ -599,24 +599,28 @@
 void
 gc_ms_allocate_string_storage(PARROT_INTERP, ARGIN(STRING *str), size_t size)
 {
+    ASSERT_ARGS(gc_ms_allocate_string_storage)
     Parrot_gc_str_allocate_string_storage(interp, &interp->mem_pools->string_gc, str, size);
 }
 
 void
 gc_ms_reallocate_string_storage(PARROT_INTERP, ARGIN(STRING *str), size_t size)
 {
+    ASSERT_ARGS(gc_ms_reallocate_string_storage)
     Parrot_gc_str_reallocate_string_storage(interp, &interp->mem_pools->string_gc, str, size);
 }
 
 void
 gc_ms_allocate_buffer_storage(PARROT_INTERP, ARGIN(Buffer *str), size_t size)
 {
+    ASSERT_ARGS(gc_ms_allocate_buffer_storage)
     Parrot_gc_str_allocate_buffer_storage(interp, &interp->mem_pools->string_gc, str, size);
 }
 
 void
 gc_ms_reallocate_buffer_storage(PARROT_INTERP, ARGIN(Buffer *str), size_t size)
 {
+    ASSERT_ARGS(gc_ms_reallocate_buffer_storage)
     Parrot_gc_str_reallocate_buffer_storage(interp, &interp->mem_pools->string_gc, str, size);
 }
 


More information about the parrot-commits mailing list