Re: ORBit2 and const char *



Hi Darin,

On Fri, 27 Jul 2001, Darin Adler wrote:
> >> 1) get fancy somehow so that we use const char * instead of const 
> >> MyModule_MyString
> 
> This would be my preference. I don't like the fact that you can't pass 
> "const char *" parameters to functions that take a Nautilus_URI, for 
> example. And you could pass them to functions that take a string.

	Ok, this is a reasonable solution too I suppose.

> I'm not sure I'm the best guy to hack on the IDL compiler. I don't
> really understand the code, and I don't have any easy way to test it.
> But if no one else is going to volunteer, I'll try to tackle my
> solution #1 above. I don't think it's terribly difficult.

	The only trick with the IDL compiler is to realise it is 90%
unused cruft that Elliot wants to keep around, and that only the 'small'
path is exercised.

	Regards,

		Michael.

-- 
 mmeeks@gnu.org  <><, Pseudo Engineer, itinerant idiot





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