changeset 1217:3f7c74ef3787

Fix missing prototype change
author Sebastien Decugis <sdecugis@freediameter.net>
date Thu, 20 Jun 2013 14:23:26 +0800
parents 581bbd48524a
children 51ea6f4b3f04
files extensions/dbg_interactive/routing.i
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 */
"Welcome to our mercurial repository"