| parrotcode managedstruct PMC | |
| Docs | FAQ | Download | Examples | Talks | Resources | Perl 6 | Languages | Who's Who | Donors | Cage Cleaners | Wiki | |
src/pmc/managedstruct.pmc - Memory-managed C struct
ManagedStruct extends UnManagedStruct to provide a class to hold C struct values that Parrot is responsible for disposing of.
void init()Initializes an empty struct.
void init_pmc(PMC *value)Initializes the struct with *value.
void destroy()Destroys the struct, freeing the allocated memory.
void set_integer_native(INTVAL value)(Re)allocates value bytes for the struct.
Initial revision by sean 2002/08/04.
|
Perl.org sites
: bugs
| dev
| history
| jobs
| learn
| lists
| use
Site Information and Contacts |
|