[Gdal-dev] Re: A list of things in the wrappers and geom type in
ogr
Frank Warmerdam
warmerdam at pobox.com
Tue Oct 11 10:44:46 EDT 2005
On 10/10/05, Kevin Ruland <kruland at ku.edu> wrote:
> 2) Passing nulls into methods. The reason this is allowed by swig (in
> general) is because some c/c++ functions allow null pointers and in fact
> might do something different. I think we should very likely code checks
> for these conditions. There are two ways to appraoch it, we can either
> code the tests in every method, or we can code typecheck typemaps which
> can do this for us.
Charlie / Kevin,
On this issue, I am in favor of having the C API do NULL testing
for objects. I have added this to my TODO list.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the Gdal-dev
mailing list