void NitroStartUp( void );
None.
None.
This function is for use with C++.
It describes processes that you want to perform before C++ static constructor calls. In the default implementation nothing is processed. This function is compiled as having weak symbols. If a NitroStartUp
function is newly defined inside an application, that new function will have priority when linking.
Generally speaking, the Nitro runtime binary startup processes are as follows.
NitroStartUp
.
NitroMain
entry.
As you can see from above, NitroStartUp
is called before the static constructor. If you are creating NITRO applications and want to perform initialization processes before executing a static constructor, you can describe them in NitroStartUp
.
Because the static constructor is executed before NitroMain
, if you dynamically secure memory in a static constructor, you must initialize a heap memory managing module (new
or delete
) and perform any similar necessary operations in NitroStartUp
.
2004/02/27 Initial version.
CONFIDENTIAL