# HG changeset patch # User Sebastien Decugis # Date 1371709435 -28800 # Node ID 51ea6f4b3f0427133c924e9607bc7526970ee010 # Parent 3f7c74ef378768e18b205fcc9ffbfcf327aba1c2# Parent 152466ff49f8e60e72244fdda620a6d74b51f631 Merged diff -r 152466ff49f8 -r 51ea6f4b3f04 extensions/dbg_interactive/routing.i --- a/extensions/dbg_interactive/routing.i Thu Jun 20 08:20:14 2013 +0200 +++ b/extensions/dbg_interactive/routing.i Thu Jun 20 14:23:55 2013 +0800 @@ -178,7 +178,7 @@ %{ /* call it (will be called from a different thread than the interpreter, when message arrives) */ -static int call_the_python_rt_out_callback(void * pycb, struct msg *msg, struct fd_list * candidates) { +static int call_the_python_rt_out_callback(void * pycb, struct msg **msg, struct fd_list * candidates) { PyObject *PyMsg, *PyCands; PyObject *cb, *result = NULL; int ret = 0; @@ -191,7 +191,7 @@ SWIG_PYTHON_THREAD_BEGIN_BLOCK; /* Convert the arguments */ - PyMsg = SWIG_NewPointerObj((void *)msg, SWIGTYPE_p_msg, 0 ); + PyMsg = SWIG_NewPointerObj((void *)*msg, SWIGTYPE_p_msg, 0 ); PyCands = SWIG_NewPointerObj((void *)candidates, SWIGTYPE_p_fd_list, 0 ); /* Call the function */