Re: [orbitcpp-list] Re: cpp: TC_Bonobo_Unknown_struct andBonobo::_tc_Unknown
- From: Michael Meeks <michael ximian com>
- To: murrayc usa net
- Cc: Sam Couter <scouter bigpond net au>,orbit <orbit-list gnome org>,orbitcpp-list <orbitcpp-list lists sourceforge net>
- Subject: Re: [orbitcpp-list] Re: cpp: TC_Bonobo_Unknown_struct andBonobo::_tc_Unknown
- Date: 25 Feb 2002 16:03:36 +0000
Hi Murray,
On Sat, 2002-02-23 at 02:21, Murray Cumming wrote:
> On Sat, 2002-02-23 at 02:31, Sam Couter wrote:
> > Murray Cumming <murrayc@t-online.de> wrote:
> > > Is it declared in any header file, so that it can be used?
> >
> > In the same example, the only header file produced for the C mapping
> > (helloworld.h) contains an extern const declaration for the struct, and
> > a #define to map it to the name and type specified in the C++ mapping.
>
> Could you post those lines from the header please? This is ORBit2,
> right?
All typecodes are defined in the '-common' file since they are common
to both stubs and skeletons, they should be prototyped in the .h file,
ie. Bonobo.h eg.
extern const struct CORBA_TypeCode_struct
TC_Bonobo_Moniker_InvalidSyntax_struct;
#define TC_Bonobo_Moniker_InvalidSyntax
((CORBA_TypeCode)&TC_Bonobo_Moniker_InvalidSyntax_struct)
HTH,
Michael.
--
mmeeks@gnu.org <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]