Re: Cannot get functions out of xml2py

"Guy K. Kloss" <[email protected]> Thu, 13 Jan 2011 13:42:15 +1300
Newsgroups gmane.comp.python.ctypes
Organization School of Computing + Mathematical Sciences
Message-ID <[email protected]>
On Thu, 13 Jan 2011 12:14:44 Chris Clark wrote:
> Reuben Thomas wrote:
> > I cannot make it give me any function definitions. I have gccxml
> > 0.9.0+cvs20100501.
> 
> I always found the xml requirement painful to fulfill so I just use
> http://code.google.com/p/ctypesgen/ instead.
> 
> I'm not saying its perfect but I find it fits my brain better, and
> easier to debug. Although if h2xml is working it sounds like you are
> really close and debugging xml2py should be doable.

I've had a bit of trouble with xml2py in the past as well. I wrote a paper 
once on automating the process of wrapping a C library. It's available from 
The Python Papers. You can find what I've used as command line switches and 
tidbits for xml2py on page 5 of the paper:

http://ojs.pythonpapers.org/index.php/tpp/article/view/71

Hope that helps,

Guy

-- 
Guy K. Kloss
School of Computing + Mathematical Sciences
Auckland University of Technology
Private Bag 92006, Auckland 1142
phone: +64 9 921 9999 ext. 5032
eMail: [email protected]

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl

_______________________________________________
ctypes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ctypes-users
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEABECAAYFAk0uSmgACgkQpsb+VXwam+QNLgCfV+tI/AtxpNxkhpy9sAhZXNDU
EiAAn3HrWoE2OHh/+VgeJJ9qRFBQ0lHL
=0V1f
-----END PGP SIGNATURE-----