Many C API functions return a typedef which is referred to as a handle. E.g.

OGRFeatureHOGRLayerHOGRGeometryH
These seem to occur when the C++ api returns a pointer.I have 3 questions:
Why doesnt the C API return pointers? 
How should I pass these 'handles' around. Should I create pointers to them?
Do I need to free them?




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/GDAL-OGR-C-API-how-should-I-be-dealing-with-handles-tp5209726.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to