[Haskell-cafe] How to deal with pointers to pointers in the FFI

Jake McArthur jake at pikewerks.com
Fri Oct 17 15:22:04 EDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jefferson Heard wrote:
> I have the following functions in C:
> 
> OGRErr 	OGR_G_CreateFromWkb (unsigned char *, OGRSpatialReferenceH,
> OGRGeometryH *, int)
> OGRErr 	OGR_G_CreateFromWkt (char **, OGRSpatialReferenceH, OGRGeometryH *)
> void 	OGR_G_DestroyGeometry (OGRGeometryH)
> OGRGeometryH 	OGR_G_CreateGeometry (OGRwkbGeometryType)

Are these Ogre3D functions? If so, I hope you are planning on releasing
these bindings!

But I don't have an answer to your question, sorry. :\

- - Jake
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkj45dwACgkQye5hVyvIUKmRoQCfTOnlxfRCUY/9SY9qA29NNIJL
AvYAn1m6h8b36amu+DBqd/r1dT5iXb/H
=Smjr
-----END PGP SIGNATURE-----


More information about the Haskell-Cafe mailing list