Skip to content

Commit 908cbcd

Browse files
authored
Replace SWIG_Python_AppendOutput with SWIG_AppendOutput for SWIG 4.3.0 compatibility (#996)
1 parent df723f3 commit 908cbcd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bindings/icub.i

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ using namespace yarp::sig;
111111
yarp::sig::Matrix* t_out1 = new yarp::sig::Matrix(*$1);
112112
yarp::sig::Vector* t_out2 = new yarp::sig::Vector(*$2);
113113

114-
$result= SWIG_Python_AppendOutput ($result, SWIG_NewPointerObj(t_out1, SWIGTYPE_p_yarp__sig__Matrix, 0 | 0 ));
115-
$result= SWIG_Python_AppendOutput ($result, SWIG_NewPointerObj(t_out2, SWIGTYPE_p_yarp__sig__VectorOfT_double_t, 0 | 0 ));
116-
$result= SWIG_Python_AppendOutput ($result, PyFloat_FromDouble(*$3));
114+
$result= SWIG_AppendOutput ($result, SWIG_NewPointerObj(t_out1, SWIGTYPE_p_yarp__sig__Matrix, 0 | 0 ));
115+
$result= SWIG_AppendOutput ($result, SWIG_NewPointerObj(t_out2, SWIGTYPE_p_yarp__sig__VectorOfT_double_t, 0 | 0 ));
116+
$result= SWIG_AppendOutput ($result, PyFloat_FromDouble(*$3));
117117
}
118118
#endif
119119

0 commit comments

Comments
 (0)