Permalink
Browse files

add RFC103 layer encoding setter/getter to swig (#4758)

  • Loading branch information...
tbonfort committed Mar 27, 2014
1 parent 217db4d commit 99c0e8b47df5c673f9bdf12ce0b64d937029e322
Showing with 16 additions and 0 deletions.
  1. +16 −0 mapscript/swiginc/layer.i
View
@@ -669,4 +669,20 @@
self->_geomtransform.string = NULL;
}
}
char *getEncoding()
{
return self->encoding;
}
void setEncoding(char *enc)
{
msFree(self->encoding);
if (enc && *enc) {
self->encoding = msStrdup(enc);
}
else {
self->encoding = NULL;
}
}
}

0 comments on commit 99c0e8b

Please sign in to comment.