Re: GHashTable with function pointers as values

2014-08-23 Thread Iñigo Martínez
Yes, it works, but i doesn't look like the best approach: warning: ISO C forbids passing argument 3 of 'g_hash_table_insert' between function pointer and 'void *' [-Wpedantic] Thank you for your answer, 2014-08-22 18:29 GMT+02:00 Emmanuele Bassi eba...@gmail.com: hi; On 22 August 2014

Re: GHashTable with function pointers as values

2014-08-23 Thread Emmanuele Bassi
hi; On 23 August 2014 11:18, Iñigo Martínez inigomarti...@gmail.com wrote: Yes, it works, but i doesn't look like the best approach: warning: ISO C forbids passing argument 3 of 'g_hash_table_insert' between function pointer and 'void *' [-Wpedantic] drop `-Wpedantic`: it doesn't serve any

Re: GHashTable with function pointers as values

2014-08-23 Thread Chris Vine
On Sat, 23 Aug 2014 11:35:05 +0100 Emmanuele Bassi eba...@gmail.com wrote: hi; On 23 August 2014 11:18, Iñigo Martínez inigomarti...@gmail.com wrote: Yes, it works, but i doesn't look like the best approach: warning: ISO C forbids passing argument 3 of 'g_hash_table_insert' between