Re: glib



Hi,

seb <seb ekinos com> writes:

> Is possible to insert as "value" in a hash_table a pointer to a struct ?

yes

> 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".

Cast your function to GHFunc to make the compiler happy.


Salut, Sven




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]