For example, if the Default package contains an event evCheck, the package initialization operation is defined in the implementation file for the package as follows:
void Default_OMInitializer_Init() {
ARC_INIT_EVENT(evCheck);
}
The <package>_OMInitializer_Cleanup() operation cleans up links between global objects when the package is destroyed if the CG::Class::DeleteGlobalInstance property is set for the objects.