[Gdal-dev] Re: gdal swig interface Band.i Updated
Frank Warmerdam
warmerdam at pobox.com
Fri Aug 4 20:58:30 EDT 2006
Charlie Savage wrote:
> The proposed wrapper code is correct.
>
> %apply (int *OUTPUT){int *blockXSize, int *blockYSize}
> void GetBlockSize(int *blockXSize, int *blockYSize){
> GDALGetBlockSize(self, blockXSize, blockYSize);
> }
>
>
> And could be further simplified to:
>
> void GetBlockSize(int *OUTPUT, int *OUTPUT){
> GDALGetBlockSize(self, blockXSize, blockYSize);
> }
>
> What's nice is that it will work with all SWIG languages. For those
> interested, some more technical background below.
Charlie / Daniele,
I have applied the simplified form to gdal/swig/include/Band.i.
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 | President OSGF, http://osgeo.org
More information about the Gdal-dev
mailing list