/src/wrappers/gtk/library/externals/plugin/c/callbacks.h
http://github.com/tybor/Liberty · C Header · 35 lines · 9 code · 2 blank · 24 comment · 0 complexity · 284cd6405351aaf90d5b9ed4bb574469 MD5 · raw file
- /*
- Author: Natalia B. Bidart
- Copyright (C) 2006 Soluciones Informaticas Libres S.A. (Except)
- Copyright (C) 2006 Paolo Redaelli
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public License
- as published by the Free Software Foundation; either version 2.1 of
- the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- 02110-1301 USA
- */
- typedef struct {
- void *Current;
- int (*function)(void *C); /* This function signature is generic, for
- a parameter-less Eiffel feature. It
- will be cast to the correct signature
- by the C callback.
- */
- } CallbackClosure;
- int EiffelGtkTreeSelectionFunc (void *selection,
- void *model,
- void *path,
- int path_currently_selected,
- CallbackClosure *data);