Class allow programmers to load native shared libraries that can be called by Objeck classes. Programmers can call native C functions within these libraries.
OperationsPath to the shared library. The path should not include the extension name (i.e. .dll, .so, etc.) for platform portability
New(name:String)
Name | Type | Description |
---|---|---|
name | String | shared library path |
Calls a native C function.
method : public : CallFunction(name:String, args:Base[]) ~ Nil
Name | Type | Description |
---|---|---|
name | String | of the native C function |
args | Base[] | argument to the native function |
Returns rather the shared library has been successfully loaded
method : public : IsLoaded() ~ Bool
Type | Description |
---|---|
Bool | returns true if the the library has been successfully loaded, false otherwise |
Unloads the shared library
method : public : Unload() ~ Nil