MapScript classObj setText method...

Steve Lime steve.lime at DNR.STATE.MN.US
Tue Nov 15 23:53:09 EST 2005


You're right. It's not even covered in Sean's reference guide so I killed the parameter. Now it's:

  int setText(char *text)

Note that I also changed getText to getTextString to stay in keeping with how the similar expression related methods are named.

Steve

>>> Tamas Szekeres <szekeres.tamas at FREEMAIL.HU> 11/08/05 5:41 PM >>>
Steve,

I don't think if anyone uses that obsolete method in that form so you
might make this change.

Tamas



On Tue, 8 Nov 2005 14:52:36 -0600, Steve Lime <steve.lime at DNR.STATE.MN.US>
wrote:

>Not many opinions I guess. I'll leave this alone with the bogus argument
and clean it up at the next major (5.0) release...
>
>Steve
>
>>>> Steve Lime <steve.lime at DNR.STATE.MN.US> 11/04/05 11:57 PM >>>
>Just looking for a quick opinion. The method has one totally uncessary
argument (a *layerObj). I'd like to propose fixing the method and handling
through documentation. Otherwise we'd need to create a new method(s)
(since we need a getText) with a different name that is not consistent
with the other get/set methods for that class. It has the potential to
bust a script though, but we have to bite the bullet at some point.
>
>Steve



More information about the mapserver-dev mailing list