Re: glib
- From: Owen Taylor <otaylor redhat com>
- To: seb <seb ekinos com>
- Cc: gtk-devel-list gnome org
- Subject: Re: glib
- Date: 07 Jun 2001 08:30:00 -0400
seb <seb ekinos com> writes:
> Hi all,
>
> Is possible to insert as "value" in a hash_table a pointer to a struct ?
> I try this, it compile and run, but i have a warning when compile "warning: passing arg 2 of
> `g_hash_table_foreach' from incompatible pointer type".
>
> my function who is used by g_hash_table_foreach is declare as
> "print_hash(gpointer key, Struct *value, gpointer user_data)"
> where "Struct *value" is my structue i pass to g_hash_table_insert as a
> value.
>
> Is anyone knows how it works ?
Questions about programming in GTK+ should go to gtk-app-devel-list -
gtk-devel-list is about the development of GTK+ itself.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]