Salome HOME
Join modifications from branch BR_DEBUG_3_2_0b1 02Jun06
[modules/med.git] / src / MEDMEM / MEDMEM_Init.cxx
index 7d8c3d656e3b3071ebf0506e4eee53091299d41f..32a646747e6df34d840e8b184fe55862a6550cb8 100644 (file)
 //
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+#include <stdlib.h>
+#include <string.h>
+#include <cassert>
+
+#include "MEDMEM_Utilities.hxx"
 #  ifdef MED_WITH_KERNEL
 //#include "LocalTraceCollector.hxx"
 #  endif /* ifdef MED_WITH_KERNEL*/
@@ -37,4 +42,15 @@ MEDMEM::INIT::INIT()
 #ifdef MED_WITH_KERNEL
 //  LocalTraceCollector::instance();
 #endif /* ifdef MED_WITH_KERNEL*/
+
+//   char* traceKind = getenv("SALOME_trace");
+
+//   if (traceKind == NULL)
+//     {
+//       setenv("SALOME_trace","local",1);
+//       traceKind = getenv("SALOME_trace");
+//       assert(traceKind);
+//     }
+
+//   MESSAGE("Med Memory Initialization with $SALOME_trace = " << traceKind);
 }