Ignore:
Timestamp:
Nov 25, 2006, 5:26:24 PM (19 years ago)
Author:
cinc
Message:

Call nomInit() on new class objects and object instances.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/nom/class_c/nomcls.c

    r94 r101  
    4444
    4545#include "nomcls.ih"
    46 
    4746#include "nomclassmanager.h"
    4847
     
    7372    return NULLHANDLE;
    7473
     74  /* _nomInit() is called in _nomRenew() */
    7575  return _nomRenew(nomSelf, (CORBA_Object)nObj, NULLHANDLE); /* This will also init the object */
    7676}
     
    9999NOM_Scope CORBA_Object NOMLINK impl_NOMClass_nomRenew(NOMClass* nomSelf, const CORBA_Object nomObj, CORBA_Environment *ev)
    100100{
    101 
    102101  _nomRenewNoInit(nomSelf, nomObj, NULLHANDLE);
    103102
    104   /* call somDefaultInit() for initialization */
    105   /* _somDefaultInit((SOMObject*)obj); */
    106  
    107 #warning !!!!! No _nomInitialize() for new objects !!!!!
    108103  /* And now give the object the possibility to initialize... */
    109   //_nomInitialize((NOMObject*)nomObj);
     104  _nomInit((NOMObject*)nomObj, NULLHANDLE);
    110105 
    111106  return nomObj;
Note: See TracChangeset for help on using the changeset viewer.