10.2Class DynFunction

Internal representation of dynamically loaded functions.

Class DynFunction

This class cannot be instantiated directly. It is generated by the DynLib.get method on succesful load.

Methods
call__Calls the external dynamically loaded function.
toStringReturns a string representation of the function.

Methods

call__

Calls the external dynamically loaded function.

DynFunction.call__( [...] )
...
ReturnEither nil, a Falcon item or an instance of DynOpaque.

Calls the function loaded from the dynlib.

Function parameters and return type are determined by the declaration passed to DynLib.get.

This method overrides the base Object BOM method "call", making possible to call directly this object.

See also: DynLib.

toString

Returns a string representation of the function.

DynFunction.toString()
ReturnA string representation of the function.

The representation will contain the original parameter list and return values, if given.

Made with http://www.falconpl.org