xFunction consists of a set of classes providing all required functionality for data type representation and calls of external functions. The following words emphasized in this text have a special meaning:
structure - an instance of a com.excelsior.xFunction.Structure subclass
callback - an instance of a com.excelsior.xFunction.Callback subclass
argument - an instance of the com.excelsior.xFunction.Argument class
pointer - an instance of the com.excelsior.xFunction.Pointer class
In the rest of this document, the xFunction package classes Argument, Structure, Pointer and Callback are mentioned without the package name.
The common scheme of the xFunction usage looks as follows:
If the external function has output parameters returned by reference, invoke changes the respective arguments appropriately before returning. Values of those arguments may be obtained later by Argument class' methods.