[mapserver-commits] r10720 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Sat Nov 13 06:55:38 EST 2010


Author: tamas
Date: 2010-11-13 03:55:38 -0800 (Sat, 13 Nov 2010)
New Revision: 10720

Modified:
   trunk/mapserver/mapserver.h
Log:
expose the renderer specific constants to the SWIG API

Modified: trunk/mapserver/mapserver.h
===================================================================
--- trunk/mapserver/mapserver.h	2010-11-13 11:55:01 UTC (rev 10719)
+++ trunk/mapserver/mapserver.h	2010-11-13 11:55:38 UTC (rev 10720)
@@ -344,6 +344,8 @@
 #define MS_DRIVER_OGL(format) (strncasecmp((format)->driver,"ogl/",4)==0)
 #define MS_DRIVER_TEMPLATE(format) (strncasecmp((format)->driver,"template",8)==0)
 
+#endif /*SWIG*/
+
 #define MS_RENDER_WITH_GD       1
 #define MS_RENDER_WITH_SWF      2
 #define MS_RENDER_WITH_RAWDATA  3
@@ -361,6 +363,7 @@
 #define MS_RENDER_WITH_KML 15
 #define MS_RENDER_WITH_OGR 16
 
+#ifndef SWIG
 #define MS_RENDERER_GD(format)  ((format)->renderer == MS_RENDER_WITH_GD)
 #define MS_RENDERER_SWF(format) ((format)->renderer == MS_RENDER_WITH_SWF)
 #define MS_RENDERER_RAWDATA(format) ((format)->renderer == MS_RENDER_WITH_RAWDATA)



More information about the mapserver-commits mailing list