[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua binding compare-and-contrast
- From: Michal Kottman <k0mpjut0r@...>
- Date: Thu, 16 Dec 2010 18:38:47 +0100
On Thu, 2010-12-16 at 18:01 +0100, Philippe Lhoste wrote:
> On 16/12/2010 16:22, Gaspard Bucher wrote:
> > 1. generate xml documentation with Doxygen
>
> I have read that GCC is able to output XML out of C[++] code too.
> Out of curiosity, why having chosen Doxygen instead of that? Simpler to parse?
I think you are referring to gcc-xml [1]. A similar approach is used in
Lqt bindings with the custom-written cpptoxml [2] parser.
IMO the Doxygen output is better suited for binding - undocumented
functions will simply not be bound. However, gccxml and cpptoxml will
pick up every method it finds in header files :)
[1] http://www.gccxml.org/
[2] https://github.com/mkottman/lqt/tree/master/cpptoxml