Revision: 41993
http://brlcad.svn.sourceforge.net/brlcad/?rev=41993&view=rev
Author: starseeker
Date: 2011-01-06 21:33:31 +0000 (Thu, 06 Jan 2011)
Log Message:
-----------
Take a stab at exporting pullback_curve on Windows - don't know if this is
quite right
Modified Paths:
--------------
brlcad/trunk/include/opennurbs_ext.h
Modified: brlcad/trunk/include/opennurbs_ext.h
===================================================================
--- brlcad/trunk/include/opennurbs_ext.h 2011-01-06 21:29:39 UTC (rev
41992)
+++ brlcad/trunk/include/opennurbs_ext.h 2011-01-06 21:33:31 UTC (rev
41993)
@@ -32,6 +32,18 @@
#include <iostream>
#include "vmath.h"
+#ifndef RT_EXPORT
+# if defined(_WIN32) && !defined(__CYGWIN__) && defined(BRLCAD_DLL)
+# ifdef RT_EXPORT_DLL
+# define RT_EXPORT __declspec(dllexport)
+# else
+# define RT_EXPORT __declspec(dllimport)
+# endif
+# else
+# define RT_EXPORT
+# endif
+#endif
+
/* These definitions were added to opennurbs_curve.h - they are
* extensions of openNURBS, so add them here instead. At some
* point a more coherent structure should probably be set up for
@@ -1485,11 +1497,11 @@
* 3. If the curve is a line or an arc (determined with openNURBS routines),
* return the appropriate ON_Curve subclass (otherwise, return an
ON_NurbsCurve).
*/
-extern ON_Curve* pullback_curve(ON_BrepFace* face,
+RT_EXPORT BU_EXTERN(ON_Curve* pullback_curve, (ON_BrepFace* face,
const ON_Curve* curve,
SurfaceTree* tree = NULL,
double tolerance = BREP_FCP_ROOT_EPSILON,
- double flatness = 1.0e-3);
+ double flatness = 1.0e-3));
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits