Salome HOME
Final version of the V2_2_0 in the main trunk of the CVS tree.
[modules/med.git] / src / MEDMEM_SWIG / libMEDMEM_Swig.i
index 3ca7473ab6444572e0bd3ed6c5fed17b4d235c47..b1adf35f8db1ff8d9667f076db00047173aef8ec 100644 (file)
@@ -31,6 +31,9 @@
 #include "MEDMEM_SWIG_MedFieldDoubleDriver.hxx"
 #include "MEDMEM_SWIG_MedFieldIntDriver.hxx"
 #include "MEDMEM_Meshing.hxx"
+
+  using namespace MEDMEM;
+  using namespace MED_EN;
 %}
 
 %include "typemaps.i"
@@ -1628,8 +1631,7 @@ class MED
 
     SUPPORT * getSupport(char * meshName, medEntityMesh entity)
       {
-       return self->getSupport(string(meshName),
-                               (MED_FR::med_entite_maillage) entity);
+       return self->getSupport(string(meshName),entity);
       }
   }
 };