Re: [orbitcpp-list] Re: cpp: TC_Bonobo_Unknown_struct and Bonobo::_tc_Unknown



Murray Cumming <murrayc@t-online.de> wrote:
> Could you post those lines from the header please? This is ORBit2,
> right?

Yep, ORBit2 cpp branch as it stands now.

These two lines are the important ones from the header (lines 34 and 35):

   extern const struct CORBA_TypeCode_struct TC_hellomodule_Hello_struct;
#define TC_hellomodule_Hello ((CORBA_TypeCode)&TC_hellomodule_Hello_struct)

And helloworld-common.c contains the struct definition, starting on line
28:

const struct CORBA_TypeCode_struct TC_hellomodule_Hello_struct = {
	   {&ORBit_TypeCode_epv, ORBIT_REFCOUNT_STATIC},
[ stuff deleted for brevity ]

If I compile the IDL file with ORBit2 as installed on Debian sid, I get
the same stuff in the same places.

The IDL file in question (if it helps) is:

// This gets prepended to all the repoids:
#pragma prefix "PhilDawes"


module hellomodule {

	interface Hello {
		string helloWorld(in string greeting);
	};
};


Hope all of this helps.
-- 
Sam "Eddie" Couter  |  mailto:scouter@bigpond.net.au
Debian Developer    |  mailto:eddie@debian.org
                    |  jabber:sam@jabber.topic.com.au
OpenPGP fingerprint:  A46B 9BB5 3148 7BEA 1F05  5BD5 8530 03AE DE89 C75C

PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]