| parrotcode: Header management functions | |
| Contents | C |

src/headers.c - Header management functions

Handles getting of various headers, and pool creation.

get_free_bufferBuffer from pool and returns it.
Memory is cleared.
new_pmc_poolnew_bufferlike_poolmake_bufferlike_pool().new_buffer_poolnew_string_poolSTRINGS and returns it.make_bufferlike_poolget_bufferlike_poolnew_pmc_headernew_pmc_extPMC_EXT and returns it.add_pmc_extPMC_EXT to pmc.add_pmc_syncpmc.new_string_headerSTRING header.new_buffer_headerBuffer.new_bufferlike_headerget_max_buffer_addressget_min_buffer_addressget_max_pmc_addressget_min_pmc_addressis_buffer_ptrptr is actually a Buffer.is_pmc_ptrptr is actually a PMC.Parrot_initialize_header_poolsParrot_forall_header_pools POOL_PMC
POOL_BUFFER
POOL_CONST
POOL_ALL
Interp*, Small_Object_Pool *, int flag, void *arg) If the function returns a non-zero value iteration will stop.Parrot_destroy_header_poolsParrot_merge_header_poolssource_interp into those of dest_interp. (Used to deal with shared objects left after interpreter destruction.)
include/parrot/headers.h.

Initial version by Mike Lambert on 2002.05.27.
|
|
|