| parrotcode: Dynamic Library | |
| Contents | PMCs | 

src/pmc/parrotlibrary.pmc - Dynamic Library

Class for holding info about a dynamic library.
     PMC data
     PMC_struct_val(SELF)   oplib init function
     PMC_data(SELF)         DLL handle
Properties:
    _filename               full path/file of lib
    _ro                     true after init
All ParrotLibrary PMCs are in interp->iglobals.
When a dynamic library (pmc or ops) is loaded, the load function returns a ParrotLibrary PMC.

void init()NULL oplib init function.void destroy()void morph(INTVAL type)type.PMC *clone()INTVAL get_bool()STRING *get_string()void set_pointer(void *handle)
    Date:    Mon, 29 Sep 2003 14:37:11 -0400 (EDT)
    Subject: Library loading and initialization sequence
    From:    Dan Sugalski

Initial version by leo 2003.10.12.
|  |   |