Complete Note#1 in the http://wiki.osgeo.org/wiki/GEOS_Provenance_Review to get out...
[geos.git] / src / inlines.cpp
blob182168c63e39fe910b6129016ccbd8749780d393
1 /**********************************************************************
3 * GEOS - Geometry Engine Open Source
4 * http://geos.osgeo.org
6 * Copyright (C) 2005-2006 Refractions Research Inc.
8 * This is free software; you can redistribute and/or modify it under
9 * the terms of the GNU Lesser General Public Licence as published
10 * by the Free Software Foundation.
11 * See the COPYING file for more information.
13 **********************************************************************
15 * This file is here to make all inlined functions also
16 * available as non-inlines when building with GEOS_INLINES defined.
18 **********************************************************************/
21 // Only do something if GEOS_INLINE is defined
22 // Otherwise we'll end up with duplicated symbols
23 #ifdef GEOS_INLINE
25 // If using Visual C++ with GEOS_INLINE, do not build inline.obj
26 // otherwise linker will complain "multiple definition" errors.
27 // If using MingW with GEOS_INLINE to build a DLL then MingW's gcc
28 // has already generated the stubs for the contents of this file.
29 // Hence we need to supress it to avoid "multiple definition" errors
30 // during the final link phase
31 #if !defined(_MSC_VER) && (!defined(__MINGW32__) || defined(__MINGW32__) && !defined(DLL_EXPORT))
33 // If using cygwin then we suppress the "multiple definition" errors by
34 // ignoring this section completely; the cygwin linker seems to handle
35 // the stubs correctly at link time by itself
36 #if !defined(__CYGWIN__)
38 // Undefine GEOS_INLINE so that .inl files
39 // will be ready for an implementation file
40 #undef GEOS_INLINE
42 #include <geos/inline.h>
44 #include <geos/io/WKTReader.inl>
45 #include <geos/io/ByteOrderDataInStream.inl>
46 #include <geos/operation/overlay/MinimalEdgeRing.inl>
47 #include <geos/geomgraph/DirectedEdge.inl>
48 #include <geos/geomgraph/GeometryGraph.inl>
49 #include <geos/algorithm/ConvexHull.inl>
50 #include <geos/geom/GeometryCollection.inl>
51 #include <geos/geom/LineSegment.inl>
52 #include <geos/geom/PrecisionModel.inl>
53 #include <geos/geom/Envelope.inl>
54 #include <geos/geom/Coordinate.inl>
55 #include <geos/geom/GeometryFactory.inl>
56 #include <geos/geom/MultiLineString.inl>
57 #include <geos/geom/MultiPolygon.inl>
58 #include <geos/geom/CoordinateArraySequenceFactory.inl>
59 #include <geos/noding/snapround/HotPixel.inl>
60 #include <geos/noding/MCIndexNoder.inl>
62 #endif // defined __CYGWIN__
63 #endif // defined __MINGW32__ and !defined DLL_EXPORT
65 #endif // defined GEOS_INLINE