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