FixNative Documentation
Back to summary
import "native/native";
Callback class
This class allow to create native callbacks.
Initialization
static function create(sig: String, func, data): Pointer
-
Creates a new native callback with given signature.
Callbacks are bound to FixScript heap, therefore reusing is recommended for
dynamic usage. When the callback is called from a different thread the best approach
is to create it from within a heap that is not otherwise running (eg. by using the Heap
class from FixTask library) to prevent crashes.