[Gdal-dev] Re: gdal swig interface Band.i Updated
Daniele Romagnoli
dany.geotools at gmail.com
Sat Aug 5 06:46:31 EDT 2006
Thank you, Charlie and Frank.
--
Best Regards,
Daniele
On 8/5/06, Frank Warmerdam <warmerdam at pobox.com> wrote:
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20060805/2fbe0033/attachment.html
More information about the Gdal-dev
mailing list