[omniORB] strange out ptr
Duncan Grisby
duncan at grisby.org
Fri Mar 26 15:21:16 GMT 2004
On Thursday 25 March, Alex Tingle wrote:
> Elsewhere in the IDL file, you will find:
>
> typedef _CORBA_ObjRef_OUT_arg<Cryptoken::_objref_Key,
> Key_Helper> Key_out;
>
> so you can declare your servant's method as:
>
> Key_ptr generateKeyPair(Key_out pub);
>
> It's a shame that omniidl doesn't use the typedef that it generates. It
> would make the output a bit easier to understand.
If I remember correctly, it does it the way it does to work around a
compiler bug with using the typedef. I can't remember which compiler,
but probably Visual C++.
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list