Question about glib hashtable



If I am making a call of the form:

g_hash_table_foreach(
hash_table_ptr, my_func, user_data)


Is it safe to modify the hash table referenced by
"hash_table_ptr" (e.g. add/remove entries and then
free the removed keys & values) from inside the
"my_func" function.

Thanks,

Ankur



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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