Re: [Gnome-bindings] Ok, here we go...
- From: Guillaume Laurent <glaurent telegraph-road org>
- To: gnome-bindings helixcode com
- Subject: Re: [Gnome-bindings] Ok, here we go...
- Date: 30 Mar 2000 22:29:36 +0200
(sorry, wrong key)
briot gnat com writes:
> One thing you did not put on your list, and that is used heavily at least in
> the GtkAda binding is that each time a function takes a "user_data" (this is
> true for callbacks and a few other functions like idle and timeouts), it
> should provide two versions:
>
> gtk_connect (foo, gpointer user_data);
> /* for C users' convenience */
>
> gtk_connect_full (foo, gpointer user_data, DestroyFunc);
> /* for bindings convenience */
I think I did. Isn't this point what you mean ?
- callbacks must always carry one freely setable pointer
argument. Callbacks should also have a DestroyNotify.
--
Guillaume.
http://www.telegraph-road.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]