DESCRIPTION
src/pmc/managedstruct.pmc - Memory-managed C struct
DESCRIPTION
ManagedStruct
extends UnManagedStruct
to provide a class to hold C struct
values that Parrot is responsible for disposing of.
Methods
void init()
Initializes an empty struct.
void init_pmc(PMC *value)
Initializes the struct with void destroy()
Destroys the struct,
freeing the allocated memory.
void set_integer_native(INTVAL value)
(Re)allocates
*value
.
value
bytes for the struct.HISTORY
Initial revision by sean 2002/08/04.