Thank you, Charlie and Frank.<br><br>-- <br>Best Regards,<br>Daniele<br><br><div><span class="gmail_quote">On 8/5/06, <b class="gmail_sendername">Frank Warmerdam</b> <<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Charlie Savage wrote:<br>> The proposed wrapper code is correct.<br>
><br>> %apply (int *OUTPUT){int *blockXSize, int *blockYSize}<br>> void GetBlockSize(int *blockXSize, int *blockYSize){<br>> GDALGetBlockSize(self, blockXSize, blockYSize);<br>> }<br>><br>
><br>> And could be further simplified to:<br>><br>> void GetBlockSize(int *OUTPUT, int *OUTPUT){<br>> GDALGetBlockSize(self, blockXSize, blockYSize);<br>> }<br>><br>> What's nice is that it will work with all SWIG languages. For those
<br>> interested, some more technical background below.<br><br>Charlie / Daniele,<br><br>I have applied the simplified form to gdal/swig/include/Band.i.<br><br>Best regards,<br>--<br>---------------------------------------+--------------------------------------
<br>I set the clouds in motion - turn up | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a><br>light and sound - activate the windows | <a href="http://pobox.com/~warmerdam">http://pobox.com/~warmerdam
</a><br>and watch the world go round - Rush | President OSGF, <a href="http://osgeo.org">http://osgeo.org</a><br><br></blockquote></div><br><br>