On 11-10-25 08:20 AM, Howard Butler wrote:
All,
I have prepared an RFC to support the implementation of providing user context
data in CPLErrorHandling scenarios. I suspect this is a non-controversial
proposal with limited applicability and impact for most folks, and I hope to
pass the RFC and implement the proposed code in trunk in a week or so.
http://trac.osgeo.org/gdal/wiki/rfc37_cplerror_userdata
Howard,
I would like to suggest the the CPLGetLastErrorUserData() be renamed something
like CPLGetErrorHandlerUserData(). It is *not* returning the user data
associated with the last error - but instead the user data associated with
the currently in-force error handler. I'd also suggest that the functions
documentation include a note mentioning it is primarily intended for use from
within error handlers.
You also did not address if/how this will be exposed in SWIG languages.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, [email protected]
light and sound - activate the windows | http://pobox.com/warmerda
and watch the world go round - Rush | Geospatial Software Developer
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev