changeset 1219:51ea6f4b3f04

Merged
author Sebastien Decugis <sdecugis@freediameter.net>
date Thu, 20 Jun 2013 14:23:55 +0800
parents 3f7c74ef3787 (diff) 152466ff49f8 (current diff)
children cec3e9b579e1
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 */
"Welcome to our mercurial repository"