Re: ORBit2 and const char *
- From: Michael Meeks <michael ximian com>
- To: orbit-list gnome org
- Subject: Re: ORBit2 and const char *
- Date: Fri, 27 Jul 2001 17:33:39 -0400 (EDT)
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.
firstname.lastname@example.org <><, Pseudo Engineer, itinerant idiot
] [Thread Prev