| parrotcode parrotlibrary PMC | |
| Docs | FAQ | Download | Examples | Talks | Resources | Perl 6 | Languages | Who's Who | Donors | Cage Cleaners | Wiki | |
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()Initializes the library with a NULL oplib init function.
void destroy()Destroys the library, closing the shared library.
PMC *clone()Creates and returns a clone of the library.
INTVAL get_bool()Returns whether a library has been successfully loaded.
STRING *get_string()Returns the name of the loaded library.
void set_pointer(void *handle)Set the pointer to the shared library 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.
|
Perl.org sites
: bugs
| dev
| history
| jobs
| learn
| lists
| use
Site Information and Contacts |
|