[svn:parrot] r47143 - branches/gc_massacre/src/gc

bacek at svn.parrot.org bacek at svn.parrot.org
Sun May 30 11:17:10 UTC 2010


Author: bacek
Date: Sun May 30 11:17:10 2010
New Revision: 47143
URL: https://trac.parrot.org/parrot/changeset/47143

Log:
Made Parrot_gc_create_pool_allocator public

Modified:
   branches/gc_massacre/src/gc/pool_allocator.c
   branches/gc_massacre/src/gc/pool_allocator.h

Modified: branches/gc_massacre/src/gc/pool_allocator.c
==============================================================================
--- branches/gc_massacre/src/gc/pool_allocator.c	Sun May 30 09:39:18 2010	(r47142)
+++ branches/gc_massacre/src/gc/pool_allocator.c	Sun May 30 11:17:10 2010	(r47143)
@@ -26,14 +26,8 @@
         __attribute__nonnull__(1)
         FUNC_MODIFIES(*pool);
 
-PARROT_CANNOT_RETURN_NULL
-PARROT_MALLOC
-static Pool_Allocator * Parrot_gc_create_pool_allocator(size_t object_size);
-
 #define ASSERT_ARGS_allocate_new_pool_arena __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
        PARROT_ASSERT_ARG(pool))
-#define ASSERT_ARGS_Parrot_gc_create_pool_allocator \
-     __attribute__unused__ int _ASSERT_ARGS_CHECK = (0)
 /* Don't modify between HEADERIZER BEGIN / HEADERIZER END.  Your changes will be lost. */
 /* HEADERIZER END: static */
 
@@ -76,7 +70,7 @@
 
 PARROT_CANNOT_RETURN_NULL
 PARROT_MALLOC
-static Pool_Allocator *
+Pool_Allocator *
 Parrot_gc_create_pool_allocator(size_t object_size)
 {
     ASSERT_ARGS(Parrot_gc_create_pool_allocator)

Modified: branches/gc_massacre/src/gc/pool_allocator.h
==============================================================================
--- branches/gc_massacre/src/gc/pool_allocator.h	Sun May 30 09:39:18 2010	(r47142)
+++ branches/gc_massacre/src/gc/pool_allocator.h	Sun May 30 11:17:10 2010	(r47143)
@@ -83,6 +83,10 @@
         FUNC_MODIFIES(*pool)
         FUNC_MODIFIES(*data);
 
+PARROT_CANNOT_RETURN_NULL
+PARROT_MALLOC
+Pool_Allocator * Parrot_gc_create_pool_allocator(size_t object_size);
+
 #define ASSERT_ARGS_Parrot_gc_destroy_pool_alloctor \
      __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
        PARROT_ASSERT_ARG(interp) \
@@ -96,6 +100,8 @@
 #define ASSERT_ARGS_Parrot_gc_pool_is_owned __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
        PARROT_ASSERT_ARG(pool) \
     , PARROT_ASSERT_ARG(data))
+#define ASSERT_ARGS_Parrot_gc_create_pool_allocator \
+     __attribute__unused__ int _ASSERT_ARGS_CHECK = (0)
 /* Don't modify between HEADERIZER BEGIN / HEADERIZER END.  Your changes will be lost. */
 /* HEADERIZER END: src/gc/pool_allocator.c */
 


More information about the parrot-commits mailing list