Re: [orbitcpp-list] Re: cpp: TC_Bonobo_Unknown_struct andBonobo::_tc_Unknown



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]