[mapserver-dev] Re: Changing the connectiontype with the mapscript
interface doesn't change the vtable.
Tamas Szekeres
szekerest at gmail.com
Tue Aug 12 17:59:51 EDT 2008
Hmmm. What I really want to do is to expose msConnectLayer in layer.i:
int ConnectLayer(int connectiontype,
char *library_str)
{
msConnectLayer(self,
const int connectiontype,
const char *library_str)
}
Tamas
2008/8/12 Tamas Szekeres <szekerest at gmail.com>:
> Devs,
>
> By changing the connectiontype at the SWIG interface the vtable will
> not change accordingly so the vtable function of the old
> connectiontype will be called.
> Do we have a method to reset the vtable in this case or should we
> probably implement a layerObj.setConnectionType for this purpose?
>
>
> Best regards,
>
> Tamas
>
More information about the mapserver-dev
mailing list