[svn:parrot] r44064 - in branches/sys_mem_reduce: include/parrot src/gc

bacek at svn.parrot.org bacek at svn.parrot.org
Wed Feb 17 07:18:01 UTC 2010


Author: bacek
Date: Wed Feb 17 07:18:00 2010
New Revision: 44064
URL: https://trac.parrot.org/parrot/changeset/44064

Log:
Change Parrot_gc_sys_name to make headerizer happy

Modified:
   branches/sys_mem_reduce/include/parrot/gc_api.h
   branches/sys_mem_reduce/src/gc/api.c

Modified: branches/sys_mem_reduce/include/parrot/gc_api.h
==============================================================================
--- branches/sys_mem_reduce/include/parrot/gc_api.h	Wed Feb 17 07:17:12 2010	(r44063)
+++ branches/sys_mem_reduce/include/parrot/gc_api.h	Wed Feb 17 07:18:00 2010	(r44064)
@@ -318,6 +318,10 @@
         __attribute__nonnull__(2)
         FUNC_MODIFIES(*str);
 
+PARROT_CANNOT_RETURN_NULL
+STRING * Parrot_gc_sys_name(PARROT_INTERP)
+        __attribute__nonnull__(1);
+
 UINTVAL Parrot_gc_total_copied(PARROT_INTERP)
         __attribute__nonnull__(1);
 
@@ -459,6 +463,8 @@
      __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
        PARROT_ASSERT_ARG(interp) \
     , PARROT_ASSERT_ARG(str))
+#define ASSERT_ARGS_Parrot_gc_sys_name __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
+       PARROT_ASSERT_ARG(interp))
 #define ASSERT_ARGS_Parrot_gc_total_copied __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
        PARROT_ASSERT_ARG(interp))
 #define ASSERT_ARGS_Parrot_gc_total_memory_allocated \

Modified: branches/sys_mem_reduce/src/gc/api.c
==============================================================================
--- branches/sys_mem_reduce/src/gc/api.c	Wed Feb 17 07:17:12 2010	(r44063)
+++ branches/sys_mem_reduce/src/gc/api.c	Wed Feb 17 07:18:00 2010	(r44064)
@@ -1064,7 +1064,8 @@
 
 PARROT_CANNOT_RETURN_NULL
 STRING *
-Parrot_gc_sys_name(PARROT_INTERP) {
+Parrot_gc_sys_name(PARROT_INTERP)
+{
     ASSERT_ARGS(Parrot_gc_sys_name)
     STRING *name = NULL;
     switch (interp->gc_sys->sys_type) {


More information about the parrot-commits mailing list