Skip to content

Commit

Permalink
Change back mutable
Browse files Browse the repository at this point in the history
  • Loading branch information
geographika committed Mar 4, 2021
1 parent 16c3741 commit 43919a8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions mapserver.h
Expand Up @@ -1014,22 +1014,22 @@ The :ref:`STYLE <style>` object. An instance of styleObj is associated with one
int refcount;
char *symbolname; ///< Name of the style's symbol - see :ref:`symbolname <mapfile-style-symbolname>`

#ifdef SWIG
%mutable;
#endif /* SWIG */

#if defined(SWIG) && defined(SWIGPYTHON) /* would probably make sense to mark it immutable for other binding languages than Python */
%immutable;
% immutable;
#endif
int patternlength; ///< Number of elements in the pattern attribute
#if defined(SWIG) && defined(SWIGPYTHON)
%mutable;
% mutable;
#endif

#if !(defined(SWIG) && defined(SWIGPYTHON)) /* in Python we use a special typemap for this */
double pattern[MS_MAXPATTERNLENGTH]; ///< List of on, off values to define a dash pattern for line work (lines, polygon outlines, hatch lines)
#endif

#ifdef SWIG
%mutable;
#endif /* SWIG */

double angle; ///< Angle, given in degrees, to draw the line work, default is 0, for symbols of Type HATCH, this is the angle of the
///< hatched lines - see :ref:`ANGLE <mapfile-style-angle>`
/*should an angle be automatically computed*/
Expand Down

0 comments on commit 43919a8

Please sign in to comment.