[MOAB-dev] r5196 - MOAB/trunk/itaps/imesh

tautges at mcs.anl.gov tautges at mcs.anl.gov
Sat Oct 22 17:09:34 CDT 2011


Author: tautges
Date: 2011-10-22 17:09:34 -0500 (Sat, 22 Oct 2011)
New Revision: 5196

Modified:
   MOAB/trunk/itaps/imesh/iMesh_f.h
Log:
Moving a #endif and include of iBase, was causing parameters in iBase_f.h
to be undefined when a file included iMesh_f.h multiple times.



Modified: MOAB/trunk/itaps/imesh/iMesh_f.h
===================================================================
--- MOAB/trunk/itaps/imesh/iMesh_f.h	2011-10-19 01:33:03 UTC (rev 5195)
+++ MOAB/trunk/itaps/imesh/iMesh_f.h	2011-10-22 22:09:34 UTC (rev 5196)
@@ -1,12 +1,14 @@
 #ifndef IMESH_F_H
 #define IMESH_F_H
 
-#include "iBase_f.h"
-
 #define iMesh_Instance IBASE_HANDLE_T
 #define iBase_EntityIterator IBASE_HANDLE_T
 #define iBase_EntityArrIterator IBASE_HANDLE_T
 
+#endif
+
+#include "iBase_f.h"
+
       integer iMesh_POINT
       integer iMesh_LINE_SEGMENT
       integer iMesh_POLYGON
@@ -45,4 +47,3 @@
       parameter (iMesh_GLOBAL_TRAVERSAL = 3)
 
 
-#endif



























More information about the moab-dev mailing list