Contents, API Reference, Functions, DLLExport_Init
Initialise PathEngine after dll load (dll linkage).
This function is defined internally by the PathEngine dll, as follows:
void __stdcall DLLExport_Init(iAllocator* allocator, iErrorHandler* handler);
A pointer to an object PathEngine will call to allocate memory, or nullptr to indicate that the default allocator should be used.
(If a custom allocator is supplied then the pointed to allocator object must remain valid until PathEngine is shut down.)
A pointer to an object PathEngine will call to handle errors.
(Should not be nullptr, and the pointed to object must remain valid until PathEngine is shut down.)
DLLExport_CreateIPathEngine can be called after loading the dll and calling this function, to obtain the root interface.
(See Linking with the SDK for more information about how to load the PathEngine dll.)