[GCC-XML] Does the graph defined by the XML have any graph properties than can be relied upon...

Roman Yakovenko roman.yakovenko at gmail.com
Mon Nov 22 00:00:49 EST 2004


On Sun, 21 Nov 2004 20:45:02 -0500, John Morrison <jm at mak.com> wrote:
> Hi;
> 
> I am trying generate Common Lisp FFI bindings for C++ using gccxml.
> I think it is important for me to make sure (to the maximum extent
> possible) that datatypes are defined before they are referenced by
> each other, functions, etc.
> 
> gccxml emits the XML nodes that define the graph of dependency.  Can I
> make any assumptions about their relative order?

No, you can't, more over from my expirince some data types defined at the end.
Also, shame on me, but why don't you try pygccxml ? Look at 
http://cvs.sourceforge.net/viewcvs.py/*checkout*/pygccxml/source/pygccxml/docs/pygccxml.html?rev=1.4
for futher explanations.

Roman

> Thanks,
> 
> -jm (hoping he doesn't have to write a spanning-tree traversal)
> 
> --
> ==== John Morrison
> ==== MAK Technologies Inc.
> ==== 10 Fawcett Street, Cambridge, MA 02138
> ==== http://www.mak.com/
> ==== vox:617-876-8085 x115
> ==== fax:617-876-9208
> ==== jm at mak.com
> 
> _______________________________________________
> gccxml mailing list
> gccxml at gccxml.org
> http://www.gccxml.org/mailman/listinfo/gccxml
>



More information about the gccxml mailing list