[Gdal-dev] SWIG / TestCapability / Ruby

Ari Jolma ari.jolma at tkk.fi
Sat Oct 1 05:14:08 EDT 2005


Charlie Savage kirjoitti:

>
> I would like to change the SWIG wrapper code so that all the 
> testcapability methods return booleans.  I think this is ok, since the 
> bindings are built using SWIG's C++ mode, so boolean is a supported 
> data type.  That way I don't have to put in a separate mapping for 
> these methods just in the Ruby bindings.


Seems ok to me also. Note that there might be other methods too subject 
to this change, e.g. int GDALDataTypeIsComplex( GDALDataType ); in gdal.i

Ari
 

>
> Thanks,
>
> Charlie
>
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/gdal-dev



-- 
Prof. Ari Jolma
Kartografia ja Geoinformatiikka / Cartography and Geoinformatics
Teknillinen Korkeakoulu / Helsinki University of Technology
POBox 1200, 02015 TKK, Finland
Email: ari.jolma at tkk.fi URL: http://www.tkk.fi/~jolma




More information about the Gdal-dev mailing list