Changeset 222 for trunk/nom/class_c/nomclassmanager.c
- Timestamp:
- Feb 4, 2007, 10:26:27 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nom/class_c/nomclassmanager.c
r221 r222 89 89 mtab=g_datalist_get_data(&_gdataClassList, className); 90 90 91 nomPrintf("-----> %s %s %x\n", __FUNCTION__, className, mtab);91 //nomPrintf("-----> %s %s %x\n", __FUNCTION__, className, mtab); 92 92 93 93 if(mtab){ … … 225 225 } 226 226 227 /** 228 \brief Function which implements the nomSubstituteClass() method of NOMClassMgr. 229 */ 230 NOM_Scope CORBA_boolean NOMLINK impl_NOMClassMgr_nomSubstituteClass(NOMClassMgr* nomSelf, 231 const CORBA_char * oldClass, 232 const CORBA_char * replacementClass, 233 CORBA_Environment *ev) 234 { 235 /* NOMClassMgrData* nomThis=NOMClassMgrGetData(nomSelf); */ 236 NOMObject* oClass; 237 NOMObject* rClass; 238 239 if((oClass=_nomFindClassFromName( nomSelf, oldClass, 0, 0, NULLHANDLE))==NULLHANDLE) 240 return FALSE; 241 242 if((rClass=_nomFindClassFromName( nomSelf, replacementClass, 0, 0, NULLHANDLE))==NULLHANDLE) 243 return FALSE; 244 245 /* Save old class object pointer. Hmm, maybe not it's still in the old parentMtab */ 246 247 /* Change the class object pointer in the nomClassDataStructure */ 248 249 /* Reregister old class with new mtab in the internal list. Make sure we don't get 250 a warning by GLib */ 251 252 return FALSE; 253 } 254 227 255 static 228 256 int nomClassMgrCompareFunc(gconstpointer a, gconstpointer b)
Note:
See TracChangeset
for help on using the changeset viewer.