Navigation


Changeset 1217:3f7c74ef3787 in freeDiameter


Ignore:
Timestamp:
Jun 20, 2013, 3:23:26 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Fix missing prototype change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/dbg_interactive/routing.i

    r1127 r1217  
    179179%{
    180180/* call it (will be called from a different thread than the interpreter, when message arrives) */
    181 static int call_the_python_rt_out_callback(void * pycb, struct msg *msg, struct fd_list * candidates) {
     181static int call_the_python_rt_out_callback(void * pycb, struct msg **msg, struct fd_list * candidates) {
    182182        PyObject *PyMsg, *PyCands;
    183183        PyObject *cb, *result = NULL;
     
    192192        SWIG_PYTHON_THREAD_BEGIN_BLOCK;
    193193        /* Convert the arguments */
    194         PyMsg   = SWIG_NewPointerObj((void *)msg,        SWIGTYPE_p_msg,     0 );
     194        PyMsg   = SWIG_NewPointerObj((void *)*msg,       SWIGTYPE_p_msg,     0 );
    195195        PyCands = SWIG_NewPointerObj((void *)candidates, SWIGTYPE_p_fd_list, 0 );
    196196       
Note: See TracChangeset for help on using the changeset viewer.