Salome HOME
projects
/
modules
/
superv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dad24b2
)
omniORB4 porting
author
rahuel
<rahuel@opencascade.com>
Wed, 26 Oct 2005 12:52:09 +0000
(12:52 +0000)
committer
rahuel
<rahuel@opencascade.com>
Wed, 26 Oct 2005 12:52:09 +0000
(12:52 +0000)
src/GraphExecutor/DataFlowExecutor_PyDynInvoke.cxx
patch
|
blob
|
history
diff --git
a/src/GraphExecutor/DataFlowExecutor_PyDynInvoke.cxx
b/src/GraphExecutor/DataFlowExecutor_PyDynInvoke.cxx
index 2c33cd87edd8040e6b2a1ee33cc2bd6c6fe4218a..85fc431b5bea453571f46a6746135542b7c1a930 100644
(file)
--- a/
src/GraphExecutor/DataFlowExecutor_PyDynInvoke.cxx
+++ b/
src/GraphExecutor/DataFlowExecutor_PyDynInvoke.cxx
@@
-372,7
+372,11
@@
bool GraphExecutor::InNode::PyDynInvoke( PyObject * MyPyRunMethod ,
case CORBA::tk_objref : {
MyPyObjRefList = PyTuple_New( 1 ) ;
PyObject * ObjValue ;
+#if OMNIORB_VERSION >= 4
+ data >>= (CORBA::Any::to_object ) ObjRef ;
+#else
data >>= ObjRef ;
+#endif
IORObjRef = ObjectToString( ObjRef ) ;
ObjValue = Py_BuildValue( "s" , IORObjRef ) ;
PyTuple_SetItem( MyPyObjRefList , 0 , ObjValue ) ;