Re: Question about type casting.
- From: Tristan Van Berkom <tristan van berkom gmail com>
- To: DC A <adc4444 hotmail com>
- Cc: gtk-list gnome org
- Subject: Re: Question about type casting.
- Date: Sat, 08 Oct 2005 02:33:07 -0400
DC A wrote:
Well there's always mention of an argument type in a function header...
For a macro like gtk_menu_bar_append (menu, child) there is no mention
in api about the type of menu or child. So for this special case, can we
say that the argument type for menu and child are GtkWidget *?
I would expect the compiler to complain if you dont feed it the expected
args for gtk_menu_shell_append(), note that in this case gtk_menu_bar_append
is a deprecated alias to gtk_menu_shell_append().
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]