Revision: 74277
http://sourceforge.net/p/brlcad/code/74277
Author: starseeker
Date: 2019-10-31 18:41:17 +0000 (Thu, 31 Oct 2019)
Log Message:
-----------
Tweak test code further for Windows.
Modified Paths:
--------------
brlcad/trunk/include/brep/cdt.h
brlcad/trunk/src/libbrep/cdt_mesh.h
brlcad/trunk/src/libbrep/tests/brep_cdt_mesh.cpp
Modified: brlcad/trunk/include/brep/cdt.h
===================================================================
--- brlcad/trunk/include/brep/cdt.h 2019-10-31 18:23:07 UTC (rev 74276)
+++ brlcad/trunk/include/brep/cdt.h 2019-10-31 18:41:17 UTC (rev 74277)
@@ -131,7 +131,17 @@
);
+/* PImpl exposure of some mesh operations for use in tests - not to be
considered public API */
+struct cdt_bmesh_impl;
+struct cdt_bmesh {
+ struct cdt_bmesh_impl *i;
+};
+extern BREP_EXPORT int cdt_bmesh_create(struct cdt_bmesh **m);
+extern BREP_EXPORT void cdt_bmesh_destroy(struct cdt_bmesh *m);
+extern BREP_EXPORT int cdt_bmesh_deserialize(const char *fname, struct
cdt_bmesh *m);
+extern BREP_EXPORT int cdt_bmesh_repair(struct cdt_bmesh *m);
+
/* TODO - this doesn't belong here. Don't consider this public. */
extern BREP_EXPORT int
ON_Brep_Report_Faces(struct bu_vls *log, void *bp, const vect_t center, const
vect_t dir);
Modified: brlcad/trunk/src/libbrep/cdt_mesh.h
===================================================================
--- brlcad/trunk/src/libbrep/cdt_mesh.h 2019-10-31 18:23:07 UTC (rev 74276)
+++ brlcad/trunk/src/libbrep/cdt_mesh.h 2019-10-31 18:41:17 UTC (rev 74277)
@@ -638,23 +638,6 @@
}
-// PImpl exposure of some mesh operations for use in tests
-#if defined(__cplusplus)
-extern "C" {
-#endif
- struct cdt_bmesh_impl;
- struct cdt_bmesh {
- struct cdt_bmesh_impl *i;
- };
- int cdt_bmesh_create(struct cdt_bmesh **m);
- void cdt_bmesh_destroy(struct cdt_bmesh *m);
-
- int cdt_bmesh_deserialize(const char *fname, struct cdt_bmesh *m);
- int cdt_bmesh_repair(struct cdt_bmesh *m);
-#if defined(__cplusplus)
-}
-#endif
-
#endif /* __cdt_mesh_h__ */
/*
Modified: brlcad/trunk/src/libbrep/tests/brep_cdt_mesh.cpp
===================================================================
--- brlcad/trunk/src/libbrep/tests/brep_cdt_mesh.cpp 2019-10-31 18:23:07 UTC
(rev 74276)
+++ brlcad/trunk/src/libbrep/tests/brep_cdt_mesh.cpp 2019-10-31 18:41:17 UTC
(rev 74277)
@@ -21,7 +21,7 @@
#include "common.h"
#include <iostream>
-#include "../cdt_mesh.h"
+#include "brep/cdt.h"
int
main(int argc, const char **argv)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits