[GRASS-dev] Re: ctypes problem with Vect_open_old

Maris Nartiss maris.gis at gmail.com
Thu Dec 30 16:16:46 EST 2010


I was beating my head on same problem till I realized - with ctypes
You just write Your C application in Python. It's still C. When You
start to threat it like C, it works just fine ;)

Just rumbling,
Maris.


2010/12/30 Martin Landa <landa.martin at gmail.com>:
> Hi,
>
> 2010/12/30 Martin Landa <landa.martin at gmail.com>:
>> Vect_open_old(map, "lakes", "")
>
> sorry for noise, it should have been
>
> Vect_open_old(byref(map), "lakes", "")
>
> Martin
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>


More information about the grass-dev mailing list