Re: callbacks
- From: "Florent. Devin" <Florent Devin lifl fr>
- To: GONZALOMZ <GONZALOMZ teleline es>
- Cc: gtk-list gnome org
- Subject: Re: callbacks
- Date: Thu, 02 Nov 2000 13:47:54 +0100
GONZALOMZ a écrit :
>
> How can i pass my own struct to a callback function ?
> How can i convert my own struct to a gpointer ?
>
> Thanks.
> Gonzalo Monrtesdeoca Zamora
>
gint callback (..., gpointer user_data);
This should be the way to pass your struct (using the user_data).
gpointer is a define for void*.
--
Florent DEVIN
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]