swig expert
Bernhard Reiter
bernhard at intevation.de
Fri Oct 6 17:11:56 CEST 2006
On Wednesday 04 October 2006 16:18, Didrik Pinte wrote:
> I've tried to update dbflib.i in order to support encoding conversion
> using PyString_AsDecodedObject. This seems to work pretty fine now and
> allow Thuban to work from scratch with any user locale and nearly any
> file encoding.
>
> Because I'm running a Debian/sid system, I had only swig 1.3.29 and no
> previous version. So, highly motivated, i've updated the dbflib.i and
> shapelib.i files. It builds fine but I have a little problem when
> testing the lib.
Can you describe your problems in more detail?
Best is to also add a patch, so if somebody wants to look into it,
it can be done right away.
> Is there any swig "expert" here that can help me to find a good solution
> to debug it ?
The result of swig usually is just C and Python so there is no magic in
debugging it.
Lately we thought that doing a python-wrapper for shapelib without swig
is better, because there is so much fine tuning when you use swig for each
language that you do not win much in using swig.
Bernhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20061006/e3a9eff0/attachment.bin
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)