# HG changeset patch # User Sebastien Decugis # Date 1371709406 -28800 # Node ID 3f7c74ef378768e18b205fcc9ffbfcf327aba1c2 # Parent 581bbd48524ac2957a3432b18f5eeda2fa7d3c05 Fix missing prototype change diff -r 581bbd48524a -r 3f7c74ef3787 extensions/dbg_interactive/routing.i --- a/extensions/dbg_interactive/routing.i Wed Jun 19 16:03:24 2013 +0200 +++ b/extensions/dbg_interactive/routing.i Thu Jun 20 14:23:26 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 */