Salome HOME
projects
/
modules
/
yacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef5d0e9
)
For non regression tests. RuntimeSALOME::createContainer returns a thisowned pointer
author
Anthony Geay
<anthony.geay@edf.fr>
Fri, 12 May 2017 11:36:31 +0000
(13:36 +0200)
committer
Anthony Geay
<anthony.geay@edf.fr>
Fri, 12 May 2017 11:36:31 +0000
(13:36 +0200)
src/runtime_swig/SALOMERuntime.i
patch
|
blob
|
history
diff --git
a/src/runtime_swig/SALOMERuntime.i
b/src/runtime_swig/SALOMERuntime.i
index 5c1d6df20d72fa4839c9227fd2d149167e7c08b4..1de04b0af039bae26b4f74cdd798289fd3859c72 100644
(file)
--- 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
);
}
}