[Gdal-dev] Re: Fwd: gdal swig interface Band.i Updated
Charlie Savage
cfis at savagexi.com
Sat Aug 5 23:01:39 EDT 2006
> The right %clear directive usage is:
> %clear int *blockXSize, int *blockYSize;
You sure about that? See line 985 in ogr.i for a counter example:
%apply (int nLen, char *pBuf ) { (int len, char *bin_string)};
%inline %{
OGRGeometryShadow* CreateGeometryFromWkb( int len, char *bin_string,
OSRSpatialReferenceShadow
*reference=NULL ) {
...
%}
%clear (int len, char *bin_string);
I think what you have means clear the typemap for parameters called
either blockXSize *or* blockYSize, but the SWIG documentation is not
particularly clear on the point.
Charlie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.osgeo.org/pipermail/gdal-dev/attachments/20060805/3670950a/smime.bin
More information about the Gdal-dev
mailing list