pike.git / src / post_modules / GTK2 / source / support.c

version» Context lines:

pike.git/src/post_modules/GTK2/source/support.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: support.c,v 1.15 2007/10/09 17:52:01 nilsson Exp $ + || $Id: support.c,v 1.16 2007/10/09 17:52:54 nilsson Exp $   */      #include <version.h>   #include <bignum.h>   #include <stdarg.h>      #ifndef INIT_VARIABLES   extern struct program *image_color_program;   extern struct program *image_program;   #endif
pike.git/src/post_modules/GTK2/source/support.c:1267:    register gpointer data1,data2;          if (G_CCLOSURE_SWAP_DATA(closure)) {    data1=closure->data;    data2=g_value_peek_pointer(param_values+0);    } else {    data1=g_value_peek_pointer(param_values+0);    data2=closure->data;    } - /* fprintf(stderr,"marshaller: before: nvals==%d\n",n_params-1); */ +     callback=(pgtk2_marshal_func)(marshal_data?marshal_data:cc->callback);    callback(data1,data2,n_params-1,param_values+1,return_value); - /* fprintf(stderr,"marshaller: after: nvals==%d\n",n_params-1); */ +    }      int pgtk2_tree_view_row_separator_func(GtkTreeModel *model,    GtkTreeIter *iter,    struct signal_data *d) {    int res;    push_gobject(model);    push_gobjectclass(iter,pgtk2_tree_iter_program);    push_svalue(&d->args);    apply_svalue(&d->cb,3);    res=Pike_sp[-1].u.integer;    pop_stack();    return res;   }