From: rahuel Date: Wed, 26 Oct 2005 12:52:09 +0000 (+0000) Subject: omniORB4 porting X-Git-Tag: V3_1_0a3~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=a281b873203ab1db0a53a765876dd998f2d84053;p=modules%2Fsuperv.git omniORB4 porting --- diff --git a/src/GraphExecutor/DataFlowExecutor_PyDynInvoke.cxx b/src/GraphExecutor/DataFlowExecutor_PyDynInvoke.cxx index 2c33cd8..85fc431 100644 --- 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 ) ;