- Timestamp:
- Nov 25, 2006, 5:26:24 PM (19 years ago)
- Location:
- trunk/nom
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nom/class_c/nomcls.c
r94 r101 44 44 45 45 #include "nomcls.ih" 46 47 46 #include "nomclassmanager.h" 48 47 … … 73 72 return NULLHANDLE; 74 73 74 /* _nomInit() is called in _nomRenew() */ 75 75 return _nomRenew(nomSelf, (CORBA_Object)nObj, NULLHANDLE); /* This will also init the object */ 76 76 } … … 99 99 NOM_Scope CORBA_Object NOMLINK impl_NOMClass_nomRenew(NOMClass* nomSelf, const CORBA_Object nomObj, CORBA_Environment *ev) 100 100 { 101 102 101 _nomRenewNoInit(nomSelf, nomObj, NULLHANDLE); 103 102 104 /* call somDefaultInit() for initialization */105 /* _somDefaultInit((SOMObject*)obj); */106 107 #warning !!!!! No _nomInitialize() for new objects !!!!!108 103 /* And now give the object the possibility to initialize... */ 109 //_nomInitialize((NOMObject*)nomObj);104 _nomInit((NOMObject*)nomObj, NULLHANDLE); 110 105 111 106 return nomObj; -
trunk/nom/src/nombuildclass.c
r94 r101 52 52 53 53 /* Define if you want to have messages from somBuildClass() and friends */ 54 //#define DEBUG_NOMBUILDCLASS54 #define DEBUG_NOMBUILDCLASS 55 55 /* Define if you want to have messages from building NOMObject */ 56 56 //#define DEBUG_BUILDNOMOBJECT … … 639 639 #endif 640 640 641 /* nomClassReady() is called in nomBuildClass(), so don't call it here. */641 /* nomClassReady() is called in nomBuildClass(), so don't call it here. Same goes for _nomInit(). */ 642 642 return nomClass; 643 643 } … … 857 857 #ifdef DEBUG_NOMBUILDCLASS 858 858 nomPrintf("%s: class is %x\n", nomClass->mtab->nomClassName, nomClass); 859 #endif 859 #endif 860 _nomInit(nomClass, NULLHANDLE); 860 861 _nomClassReady(nomClass, NULLHANDLE); 861 862 } … … 873 874 //#warning !!!!! No call of _nomClassReady() here !!!!! 874 875 //#if 0 876 _nomInit(nomClass, NULLHANDLE); 875 877 _nomClassReady(nomClass, NULLHANDLE); 876 878 //#endif … … 965 967 966 968 //priv_addPrivClassToGlobalClassList(pGlobalNomEnv, nClass); 967 969 _nomInit(nomClass, NULLHANDLE); 968 970 _nomClassReady(nomClass, NULLHANDLE); 969 971 return nomClass;
Note:
See TracChangeset
for help on using the changeset viewer.