Changeset 255 for trunk/nom/src/nombuildclass.c
- Timestamp:
- Mar 15, 2007, 9:42:22 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nom/src/nombuildclass.c
r221 r255 16 16 * The Initial Developer of the Original Code is 17 17 * netlabs.org: Chris Wohlgemuth <cinc-ml@netlabs.org>. 18 * Portions created by the Initial Developer are Copyright (C) 2005-200 618 * Portions created by the Initial Developer are Copyright (C) 2005-2007 19 19 * the Initial Developer. All Rights Reserved. 20 20 * … … 969 969 ulMajorVersion, ulMinorVersion); 970 970 if(nomClass){ 971 CORBA_Environment * tempEnv=nomCreateEnvNoObjectCheck(); 972 971 973 DBG_NOMBUILDCLASS(TRUE, "%s: class is 0x%x\n", nomClass->mtab->nomClassName, nomClass); 972 974 #if 0 … … 977 979 priv_checkForNomUnInitOverride( (NOMClassPriv*)nomClass->mtab->nomClsInfo, ncpParent); 978 980 #endif 979 _nomInit((NOMObject*)nomClass, NULLHANDLE); 980 _nomClassReady(nomClass, NULLHANDLE); 981 /* Make sure the env is marked that we don't chek the object pointer. This would fail 982 because the class isn't registered yet. */ 983 _nomInit((NOMObject*)nomClass, tempEnv); 984 _nomClassReady(nomClass, tempEnv); 981 985 } 982 986 … … 993 997 994 998 if(nomClass){ 995 _nomInit((NOMObject*)nomClass, NULLHANDLE); 996 _nomClassReady(nomClass, NULLHANDLE); 999 CORBA_Environment * tempEnv=nomCreateEnvNoObjectCheck(); 1000 /* Make sure the env is marked that we don't chek the object pointer. This would fail 1001 because the class isn't registered yet. */ 1002 _nomInit((NOMObject*)nomClass, tempEnv); 1003 _nomClassReady(nomClass, tempEnv); 997 1004 } 998 1005 return nomClass; … … 1088 1095 1089 1096 if(nomClass){ 1097 CORBA_Environment * tempEnv=nomCreateEnvNoObjectCheck(); 1098 1090 1099 /* Mark the class as using nomUnInit() if any parent did that. We just have to 1091 1100 check the flag and the flag of the parent class. This information is important … … 1094 1103 priv_checkForNomUnInitOverride( (NOMClassPriv*)nomClass->mtab->nomClsInfo, ncpParent); 1095 1104 1096 _nomInit(nomClass, NULLHANDLE); 1097 _nomClassReady(nomClass, NULLHANDLE); 1105 /* Make sure the env is marked that we don't chek the object pointer. This would fail 1106 because the class isn't registered yet. */ 1107 _nomInit(nomClass, tempEnv); 1108 _nomClassReady(nomClass, tempEnv); 1098 1109 } 1099 1110 return nomClass;
Note:
See TracChangeset
for help on using the changeset viewer.