Changeset 255 for trunk/nom/class_c/nomcls.c
- Timestamp:
- Mar 15, 2007, 9:42:22 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nom/class_c/nomcls.c
r251 r255 79 79 gchar* nObj; 80 80 81 if(!nomSelf)82 return NULLHANDLE;83 84 81 if(!_ncpObject) 85 82 return NULLHANDLE; … … 134 131 CORBA_Environment *ev) 135 132 { 133 #if 0 134 CORBA_Environment tempEnv={0}; 135 tempEnv.fFlags=NOMENV_FLG_DONT_CHECK_OBJECT; 136 #endif 136 137 _nomRenewNoInit(nomSelf, nomObj, NULLHANDLE); 137 138 138 139 /* And now give the object the possibility to initialize... */ 140 /* Make sure the object is not checked. */ 141 //_nomInit((NOMObject*)nomObj, &tempEnv); 139 142 _nomInit((NOMObject*)nomObj, NULLHANDLE); 140 143 141 144 return nomObj; 142 145 } … … 210 213 NOM_Scope void NOMLINK impl_NOMClass_nomClassReady(NOMClass* nomSelf, CORBA_Environment *ev) 211 214 { 215 CORBA_Environment tempEnv={0}; 216 tempEnv.fFlags=NOMENV_FLG_DONT_CHECK_OBJECT; 212 217 213 218 nomPrintf(" Entering %s with nomSelf: 0x%x. nomSelf is: %s.\n", … … 231 236 //if(!_nomFindClassFromName(NOMClassMgrObject, _nomGetName(nomSelf, NULLHANDLE), 232 237 // 0, 0, NULLHANDLE)) 233 if(!_nomFindClassFromName(NOMClassMgrObject, _nomGetClassName(nomSelf, NULLHANDLE),234 0, 0, NULLHANDLE))238 if(!_nomFindClassFromName(NOMClassMgrObject, _nomGetClassName(nomSelf, &tempEnv), 239 0, 0, &tempEnv)) 235 240 236 241 { … … 305 310 { 306 311 /* NOMClassData* nomThis=NOMClassGetData(nomSelf); */ 307 308 //nomPrintf(" Entering %s with nomSelf: 0x%x. nomSelf is: %s.\n", 309 // __FUNCTION__, nomSelf, nomSelf->mtab->nomClassName); 310 311 NOMClass_nomInit_parent(nomSelf, ev); 312 } 313 312 #if 0 313 CORBA_Environment tempEnv={0}; 314 tempEnv.fFlags=NOMENV_FLG_DONT_CHECK_OBJECT; 315 #endif 316 // nomPrintf(" Entering %s with nomSelf: 0x%x. nomSelf is: %s.\n", 317 // __FUNCTION__, nomSelf, nomSelf->mtab->nomClassName); 318 319 /* Don't check object pointer. We are just created but not yet registered as a class. */ 320 // NOMClass_nomInit_parent(nomSelf, &tempEnv); 321 NOMClass_nomInit_parent(nomSelf, NULLHANDLE); 322 } 323 324 325 326
Note:
See TracChangeset
for help on using the changeset viewer.