From: Anthony Geay Date: Fri, 12 May 2017 11:36:31 +0000 (+0200) Subject: For non regression tests. RuntimeSALOME::createContainer returns a thisowned pointer X-Git-Tag: Before_multi_study_removal_06072017~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d3a89f33c3aba0db979e764437de0a93e35456db;p=modules%2Fyacs.git For non regression tests. RuntimeSALOME::createContainer returns a thisowned pointer --- diff --git a/src/runtime_swig/SALOMERuntime.i b/src/runtime_swig/SALOMERuntime.i index 5c1d6df20..1de04b0af 100644 --- a/src/runtime_swig/SALOMERuntime.i +++ b/src/runtime_swig/SALOMERuntime.i @@ -234,6 +234,6 @@ namespace YACS PyObject *createContainer(const std::string& kind="") { YACS::ENGINE::Container *ret(self->createContainer(kind)); - return convertContainer2(ret); + return convertContainer2(ret,SWIG_POINTER_OWN | 0); } }