Re: determine type of an ident in libIDL
- From: Mark McLoughlin <mark skynet ie>
- To: bowie owens csiro au
- Cc: orbit <orbit-list gnome org>
- Subject: Re: determine type of an ident in libIDL
- Date: Fri, 03 Oct 2003 19:18:10 +0100
Hi Bowie,
Just like Michael, its been a long time for me too and I can't really
help you. But take a look at the src/services/imodule for some ideas ...
there's some libIDL voodoo there too which sounds similar to what you
want ...
Good Luck,
Mark.
On Fri, 2003-10-03 at 10:16, Michael Meeks wrote:
> On Fri, 2003-10-03 at 00:50, Bowie Owens wrote:
> > I'm working on the ORBit C++ bindings and need to determine the type of
> > and ident using libIDL. I have the following test case which doesn't
> > work. The problem is when the parser gets to method return type and
> > arguments for the C interface it gets an _IDL_IDENT and assumes it is an
> > interface.
>
> Hmm; interesting - I believe libIDL is supposed to do this all for you
> internally; but it's been a long time - surely it should do all the
> fixups for you ?
>
> ie. why pass an IDL_IDENT around when in fact you can pass an IDL_TYPE
> around that contains that information. Possibly the ->up node on the
> IDL_tree will be what you're looking for anyway.
>
> Of course, possibly there is some better way - I have no idea; I only
> recall chopping huge chunks of the IDL compiler out, rather than
> anything else ? how does the C backend solve this problem ?
>
> Regards,
>
> Michael.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]