-// Copyright (C) 2007-2016 CEA/DEN, EDF R&D
+// Copyright (C) 2007-2024 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
%include std_vector.i
%include std_string.i
+%include "MEDCouplingCommon.i"
+
%{
-#ifdef WIN32
-#define MEDCOUPLING_WIN32_SWIG
-#endif
#include "MEDCouplingMemArray.txx"
#include "MCAuto.hxx"
#include "MEDCouplingDataArrayTypemaps.i"
import os
__filename=os.environ.get('PYTHONSTARTUP')
if __filename and os.path.isfile(__filename):
- exec(open(__filename).read())
- pass
+ with open(__filename) as __fp:
+ exec(__fp.read())
%}