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

Jefferson Heard jefferson.r.heard at gmail.com
Fri Oct 17 15:22:50 EDT 2008


Sadly, nothing so awesome...  OGR is part of GDAL, an open-source
geographic information system suite.

On Fri, Oct 17, 2008 at 3:22 PM, Jake McArthur <jake at pikewerks.com> wrote:
> -----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-----
>



-- 
I try to take things like a crow; war and chaos don't always ruin a
picnic, they just mean you have to be careful what you swallow.

-- Jessica Edwards


More information about the Haskell-Cafe mailing list