Re: Learning Pyrex with libxml2
From: Victor Ng (vng1_at_mac.com)
Date: 06/28/04
- Next message: Ajay: "string concatenation"
- Previous message: alejandro david weil: "Re: Can you make this faster?"
- In reply to: Victor Ng: "Learning Pyrex with libxml2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 28 Jun 2004 00:44:47 -0400
There's a good example of how to use Pyrex with C code that uses struct
extensively in the Pyxpat sample at:
http://www.prescod.net/python/pyrexopt/pyxpat/pyxpat.pyx
There's also a discussion about a similar problem the Pyrex info mailing
list at:
http://lists.copyleft.no/pipermail/pyrex/2004-January/thread.html#478
Hmmm... answering my own questions on c.l.p again. This is probably a
bad sign of something, although I'm not quite sure.
vic
Victor Ng wrote:
> Hi, I'm trying to learn how to use Pyrex by converting some of the
> libxml2 examples. I'm not having much luck - I can create a document,
> but any attempt to create nodes causes a segfault.
>
> The code I'm trying to port is io2.c (http://xmlsoft.org/examples/io2.c)
>
> I've commented the couple lines that cause a problem for me.
>
> thanks,
> vic
- Next message: Ajay: "string concatenation"
- Previous message: alejandro david weil: "Re: Can you make this faster?"
- In reply to: Victor Ng: "Learning Pyrex with libxml2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]