[omniORB] strange out ptr

Renzo Tomaselli renzo.tomaselli at tecnotp.it
Thu Mar 25 17:20:37 GMT 2004


Hi all,
    I found a bit strange the generation of an out param as reported below:

// idl
interface Token {
    Key generateKeyPair(out Key pub);
...
// C++, from .hh
 Key_ptr generateKeyPair(_CORBA_ObjRef_OUT_arg< Cryptoken::_objref_Key,
Key_Helper > pub);
...
I guess it should be "Key_ptr generateKeyPair(Key_out pub);". Indeed they
should be equivalent.
Environment is OmniORB is 4.03, WinXP, straight out of the box.
Thanks,

Renzo Tomaselli




More information about the omniORB-list mailing list