Thanks, Kevin! I'm just forwarding to wxhaskell-users in case Mads has a reply :-)
I'll note that in the body of my message, I only cut and paste a small extract of the output. Maybe this is what Mads was referring to? -- Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow> PGP Key ID: 08AC04F9
--- Begin Message ---Hi Eric,The return type bug should be fixed now if you update your script. However, I see both wxButton::wxButton constructors (one that takes no params, and one that takes several) in your output. Do you not see them?Thanks, Kevin On Apr 10, 2009, at 2:01 PM, Eric Y. Kow wrote:Hi Kevin, Thought you might be interested in the attached reply -- Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow> PGP Key ID: 08AC04F9 From: Mads Lindstrøm <mads_lindstr...@yahoo.dk> Date: April 10, 2009 9:44:08 AM PDT To: wxhaskell-users@lists.sourceforge.netSubject: Re: [wxhaskell-users] autogenerating wxc from wxWidgets Doxygen output?Hi Eric Kow wrote:On Thu, Apr 09, 2009 at 18:57:29 +0100, Eric Kow wrote:This is where Kevin Ollivier of wxWidgets pointed out somethinginteresting: in the current wxWidgets trunk, it should be possible to automatically generate the C bindings from the Doxygen XML output. Infact, he has already done something similar for Python, metadata to Python objects: http://trac.wxwidgets.org/browser/wxWidgets/trunk/docs/doxygen/doxymlparser.pyFollowing up on this, I didsvn checkout http://svn.wxwidgets.org/svn/wx/wxWidgets/trunk wxWidgetscd wxWidgets/doc/doxygen ./regen.sh python doxymlparser.py --report out/xml/classwx_button.xml Attached is the XML file (input) and the output of this script.I had a quick look at the output and it seems to have some shortcomings.The output has only one constructor, whereas the input XML has two. Manyof the return types also seems missing. Eg. Method: GetLabel Return Type: Params: [] Prototype: wxString wxButton::GetLabel() const Brief Description: Regarding the return type, we could parse the prototype string and ignore the "Return type". Greetings, Mads Lindstrøm ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
--- End Message ---
pgpkRnmbLXHsP.pgp
Description: PGP signature
------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com
_______________________________________________ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users