[svn:parrot] r38554 - branches/gc_api/src/gc

whiteknight at svn.parrot.org whiteknight at svn.parrot.org
Thu May 7 23:31:28 UTC 2009


Author: whiteknight
Date: Thu May  7 23:31:28 2009
New Revision: 38554
URL: https://trac.parrot.org/parrot/changeset/38554

Log:
[gc_api] delete unused function new_buffer_header

Modified:
   branches/gc_api/src/gc/api.c

Modified: branches/gc_api/src/gc/api.c
==============================================================================
--- branches/gc_api/src/gc/api.c	Thu May  7 23:30:17 2009	(r38553)
+++ branches/gc_api/src/gc/api.c	Thu May  7 23:31:28 2009	(r38554)
@@ -223,28 +223,6 @@
 
 /*
 
-=item C<Buffer * new_buffer_header(PARROT_INTERP)>
-
-Creates and returns a new C<Buffer> from the buffer header pool.  Calls
-C<get_free_buffer> to do all the work.
-
-=cut
-
-*/
-
-PARROT_CANNOT_RETURN_NULL
-PARROT_WARN_UNUSED_RESULT
-Buffer *
-new_buffer_header(PARROT_INTERP)
-{
-    ASSERT_ARGS(new_buffer_header)
-    return (Buffer *)get_free_buffer(interp,
-            interp->arena_base->buffer_header_pool);
-}
-
-
-/*
-
 =item C<void * new_bufferlike_header(PARROT_INTERP, size_t size)>
 
 Returns a new buffer-like header from the appropriate sized pool.


More information about the parrot-commits mailing list