Martin Landa wrote:

> right, just facing to the strange problem, any idea?

> p = line_pnts()
> Vect_append_point(byref(p), 1, 1, 0)

You're passing an uninitialised line_pnts structure (i.e. with its
fields containing garbage), and probably trashing the heap. Use
Vect_new_line_struct() to allocate an empty line_pnts object.

-- 
Glynn Clements <gl...@gclements.plus.com>
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to