Io Reference







Core   /   Core   /   DynLib





A DLL Loader by Kentaro A. Kurahone.
 
 
 



call(functionName, <arg1>, <arg2>, ...)

Call's the dll function of the specified name with the arguments provided. Returns the a Number with the result value.
callPluginInit(functionName)

Call's the dll function of the specified name. Returns the result as a Number or raises an exception on error.
close

Closes the library. Returns self.
freeFuncName

Returns the io_free function name.
initFuncName

Returns the initialization function name.
isOpen

Returns true if the library is open, or false otherwise.
open

Opens the dynamic library and returns self or raises a DynLoad.open Error if there is an error.
path

Returns the path to the dynamic library.
setFreeFuncName(aString)

Sets the io_free function name. Returns self.
setInitFuncName(aString)

Sets the initialization function name for the dynamic library. Returns self.
setPath(aString)

Sets the path to the dynamic library. Returns self.
voidCall(functionName, <arg1>, <arg2>, ...)

Same as call but for functions with no return value. Returns nil.