[svn:parrot] r47480 - in branches/gc_massacre: config/gen/makefiles src/gc

bacek at svn.parrot.org bacek at svn.parrot.org
Tue Jun 8 22:15:50 UTC 2010


Author: bacek
Date: Tue Jun  8 22:15:50 2010
New Revision: 47480
URL: https://trac.parrot.org/parrot/changeset/47480

Log:
Add skeleton file for Variable_Size_Pool.

Added:
   branches/gc_massacre/src/gc/variable_size_pool.c
Modified:
   branches/gc_massacre/config/gen/makefiles/root.in

Modified: branches/gc_massacre/config/gen/makefiles/root.in
==============================================================================
--- branches/gc_massacre/config/gen/makefiles/root.in	Tue Jun  8 22:14:58 2010	(r47479)
+++ branches/gc_massacre/config/gen/makefiles/root.in	Tue Jun  8 22:15:50 2010	(r47480)
@@ -455,6 +455,7 @@
     src/gc/mark_sweep$(O) \
     src/gc/system$(O) \
     src/gc/fixed_allocator$(O) \
+    src/gc/variable_size_pool$(O) \
     src/global$(O) \
     src/global_setup$(O) \
     src/hash$(O) \
@@ -1297,6 +1298,9 @@
 src/gc/fixed_allocator$(O) : $(PARROT_H_HEADERS) \
 	src/gc/fixed_allocator.h src/gc/fixed_allocator.c
 
+src/gc/variable_size_pool$(O) : $(PARROT_H_HEADERS) \
+	src/gc/variable_size_pool.h src/gc/variable_size_pool.c
+
 
 src/hll$(O) : $(PARROT_H_HEADERS) src/hll.str $(INC_DIR)/dynext.h src/hll.c
 

Added: branches/gc_massacre/src/gc/variable_size_pool.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/gc_massacre/src/gc/variable_size_pool.c	Tue Jun  8 22:15:50 2010	(r47480)
@@ -0,0 +1,36 @@
+/*
+Copyright (C) 2010, Parrot Foundation.
+$Id$
+
+=head1 NAME
+
+src/gc/variable_size_pool.h - implementation of allocator variable size objects.
+E.g. strings.
+
+=head1 DESCRIPTION
+
+TODO Add it.
+
+=cut
+
+*/
+
+#include "parrot/parrot.h"
+#include "variable_size_pool.h"
+
+/* HEADERIZER HFILE: src/gc/variable_size_pool.h */
+
+/* HEADERIZER BEGIN: static */
+/* Don't modify between HEADERIZER BEGIN / HEADERIZER END.  Your changes will be lost. */
+
+/* Don't modify between HEADERIZER BEGIN / HEADERIZER END.  Your changes will be lost. */
+/* HEADERIZER END: static */
+
+
+/*
+ * Local variables:
+ *   c-file-style: "parrot"
+ * End:
+ * vim: expandtab shiftwidth=4:
+ */
+


More information about the parrot-commits mailing list