Re: Cannot get functions out of xml2py

Reuben Thomas <[email protected]> Thu, 13 Jan 2011 19:57:16 +0000
Newsgroups gmane.comp.python.ctypes
Message-ID <[email protected]>
On 13 January 2011 19:00, Reuben Thomas <[email protected]> wrote:
> On 13 January 2011 18:59, Chris Clark <[email protected]> wrote:
>> Reuben Thomas wrote:
>>>
>>> OK, so I tried various possibilities:
>>>
>>> -lfoo
>>> -lfoo.so
>>> -l/usr/lib/libfoo.so.1.0.0
>>>
>>> but nothing seems either to work or give an error.
>>>
>>
>> Any luck with ctypesgen?
>
> I haven't tried that yet. I first want to work out if there is a bug
> in ctypeslib, because if so, it should be reported and fixed.

Finally, I found out that I was using the wrong XML file, so the -l
flag was indeed what I needed. I won't therefore try ctypesgen just
yet, but I'll bear it in mind.

Thanks very much for your help; I'm glad it turned out there wasn't a
bug in ctypeslib; however, it looks like the documentation could be
improved; I'll see if I can help do that.

-- 
http://rrt.sc3d.org

------------------------------------------------------------------------------
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