From 54319ca217a24c3edd0b38e112982e0cf9326f4d Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Sun, 17 Mar 2024 18:20:48 +0100 Subject: [PATCH] [EDF29761] : Fix regression in KERNEL_Launcher introduced by previous commit bos41337 --- src/runtime_swig/SALOMERuntime.i | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/src/runtime_swig/SALOMERuntime.i b/src/runtime_swig/SALOMERuntime.i index e8a5df23e..0913016f6 100644 --- a/src/runtime_swig/SALOMERuntime.i +++ b/src/runtime_swig/SALOMERuntime.i @@ -104,23 +104,6 @@ static PyObject *convertContainer2(YACS::ENGINE::Container *cont, int owner=0) } %} -%{ -#include "Proc.hxx" - -#include -#include -#include -using namespace YACS::ENGINE; -class ThreadDumpState -{ - public: - ThreadDumpState(Proc *proc, int nbSeconds, const std::string& dumpFile, const std::string& lockFile); - ~ThreadDumpState(); - void start(); - void join(); -}; -%} - // ---------------------------------------------------------------------------- #ifdef SWIGPYTHON @@ -269,3 +252,17 @@ namespace YACS } } +namespace YACS +{ + namespace ENGINE + { + class ThreadDumpState + { + public: + ThreadDumpState(Proc *proc, int nbSeconds, const std::string& dumpFile, const std::string& lockFile); + ~ThreadDumpState(); + void start(); + void join(); + }; + } +} -- 2.39.2