[geos-commits] r3638 - in trunk/include/geos: noding util

svn_geos at osgeo.org svn_geos at osgeo.org
Wed May 23 19:53:00 EDT 2012


Author: mloskot
Date: 2012-05-23 16:53:00 -0700 (Wed, 23 May 2012)
New Revision: 3638

Modified:
   trunk/include/geos/noding/GeometryNoder.h
   trunk/include/geos/util/CustomAllocators.h
Log:
Added missing GEOS_DLL directive to GeometryNoder and custom allocators.

Modified: trunk/include/geos/noding/GeometryNoder.h
===================================================================
--- trunk/include/geos/noding/GeometryNoder.h	2012-05-23 23:34:18 UTC (rev 3637)
+++ trunk/include/geos/noding/GeometryNoder.h	2012-05-23 23:53:00 UTC (rev 3638)
@@ -19,6 +19,7 @@
 #ifndef GEOS_NODING_GEOMETRYNODER_H
 #define GEOS_NODING_GEOMETRYNODER_H
 
+#include <geos/export.h>
 #include <geos/noding/SegmentString.h> // for NonConstVect
 
 #include <memory> // for auto_ptr
@@ -36,7 +37,7 @@
 namespace geos {
 namespace noding { // geos.noding
 
-class GeometryNoder
+class GEOS_DLL GeometryNoder
 {
 public:
 

Modified: trunk/include/geos/util/CustomAllocators.h
===================================================================
--- trunk/include/geos/util/CustomAllocators.h	2012-05-23 23:34:18 UTC (rev 3637)
+++ trunk/include/geos/util/CustomAllocators.h	2012-05-23 23:53:00 UTC (rev 3638)
@@ -12,19 +12,24 @@
  *
  **********************************************************************/
 
+#ifndef GEOS_UTIL_CUSTOMALLOCATORS_H
+#define GEOS_UTIL_CUSTOMALLOCATORS_H
+
+#include <geos/export.h>
 #include <cstdlib> // size_t
 
 namespace geos {
 namespace util {
 namespace CustomAllocators {
 
-  typedef void * (*GEOSAllocator) (std::size_t size);
-  GEOSAllocator setAllocator(GEOSAllocator nf);
+  typedef void* (*GEOSAllocator) (std::size_t size);
+  GEOSAllocator GEOS_DLL setAllocator(GEOSAllocator nf);
 
-  typedef void   (*GEOSDeallocator)    (void *ptr);
-  GEOSDeallocator setDeallocator(GEOSDeallocator nf);
+  typedef void  (*GEOSDeallocator)(void *ptr);
+  GEOSDeallocator GEOS_DLL setDeallocator(GEOSDeallocator nf);
 
 }
 }
 }
 
+#endif // GEOS_UTIL_CUSTOMALLOCATORS_H



More information about the geos-commits mailing list