[Mapserver-dev] renaming labelCacheMemberObj.string to .text

Sean Gillies sgillies at frii.com
Thu Sep 16 13:05:04 EDT 2004


http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=852

To avoid conflicts with C# and Java types, any mapserver structure 
exposed
to SWIG needs to avoid using "string" as a member name.  So that map 
labels
can be accessed from C# mapscript I am going to rename
labelCacheMemberObj.string to "text" in the CVS head.

I've made the changes everywhere, including mapimagemap.c, mappdf.c, 
and mapswf.c.
Label cache members aren't exposed in PHP mapscript (right?) so no 
changes there.
Everything compiles and my tests pass, so I think it's ready.

I'll wait a bit before I commit ... any questions, comments?

Sean

--
Sean Gillies
sgillies at frii dot com
http://users.frii.com/sgillies




More information about the mapserver-dev mailing list