Re: [Gnome-bindings] Ok, here we go...



(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]