[cgma-dev] r5503 - cgm/trunk/itaps

jvporter at wisc.edu jvporter at wisc.edu
Fri Apr 27 12:02:59 CDT 2012


Author: jvporter
Date: 2012-04-27 12:02:58 -0500 (Fri, 27 Apr 2012)
New Revision: 5503

Added:
   cgm/trunk/itaps/CGM_iGeom.h
Modified:
   cgm/trunk/itaps/Makefile.am
   cgm/trunk/itaps/iGeom_CGMA.cc
Log:
Add CGM_iGeom.h for shim-mode and fix up some shim issues


Added: cgm/trunk/itaps/CGM_iGeom.h
===================================================================
--- cgm/trunk/itaps/CGM_iGeom.h	                        (rev 0)
+++ cgm/trunk/itaps/CGM_iGeom.h	2012-04-27 17:02:58 UTC (rev 5503)
@@ -0,0 +1,15 @@
+#ifndef CGM_IGEOM_H
+#define CGM_IGEOM_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+  void CGM_iGeom_register();
+
+#ifdef __cplusplus
+}
+#endif
+
+
+#endif

Modified: cgm/trunk/itaps/Makefile.am
===================================================================
--- cgm/trunk/itaps/Makefile.am	2012-04-27 16:41:10 UTC (rev 5502)
+++ cgm/trunk/itaps/Makefile.am	2012-04-27 17:02:58 UTC (rev 5503)
@@ -56,6 +56,8 @@
   AM_CPPFLAGS += -DITAPS_SHIM
   libiGeom_la_SOURCES += \
     iGeom_private.h
+  libiGeom_la_include_HEADERS += \
+    CGM_iGeom.h
 else
   libiGeom_la_include_HEADERS += \
 	iGeom.h \

Modified: cgm/trunk/itaps/iGeom_CGMA.cc
===================================================================
--- cgm/trunk/itaps/iGeom_CGMA.cc	2012-04-27 16:41:10 UTC (rev 5502)
+++ cgm/trunk/itaps/iGeom_CGMA.cc	2012-04-27 17:02:58 UTC (rev 5503)
@@ -33,6 +33,8 @@
 
 #ifdef ITAPS_SHIM
 # include "iGeom_binding.h"
+# include "iGeom_private.h"
+# include "CGM_iGeom.h"
 # define ITAPS_API static
 #else
 # include "iGeom.h"





More information about the cgma-dev mailing list