[mapserver-commits] r7687 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Tue Jun 17 16:28:08 EDT 2008


Author: tamas
Date: 2008-06-17 16:28:08 -0400 (Tue, 17 Jun 2008)
New Revision: 7687

Modified:
   trunk/mapserver/mapserver.h
Log:
Added MS_LABEL_BINDING constants for SWIG MapScript (#2643)

Modified: trunk/mapserver/mapserver.h
===================================================================
--- trunk/mapserver/mapserver.h	2008-06-17 16:30:38 UTC (rev 7686)
+++ trunk/mapserver/mapserver.h	2008-06-17 20:28:08 UTC (rev 7687)
@@ -541,7 +541,6 @@
 } queryMapObj;
 
 /* Define supported bindings here (only covers existing bindings at first). Not accessible directly using MapScript. */
-#ifndef SWIG
 #define MS_STYLE_BINDING_LENGTH 5
 enum MS_STYLE_BINDING_ENUM { MS_STYLE_BINDING_SIZE, MS_STYLE_BINDING_ANGLE, MS_STYLE_BINDING_COLOR, MS_STYLE_BINDING_OUTLINECOLOR, MS_STYLE_BINDING_SYMBOL};
 #define MS_LABEL_BINDING_LENGTH 6
@@ -550,7 +549,7 @@
 /************************************************************************/
 /*                         attributeBindingObj                          */
 /************************************************************************/
-
+#ifndef SWIG
 typedef struct {
   char *item;
   int index;



More information about the mapserver-commits mailing list