I need to work with a hash table keys of type struct (something similar to the defined struct below). These keys are related to number of parsed values from a UAT in my protocol dissector. I used g_hash_table_get_keys_as_array () but I'm getting several errors and warnings
I'm not sure why I'm getting these errors and not sure how to solve them. my guess that I'm not using the function in the proper way but again I'm not sure what I'm missing. I'd appreciate any hints that help me to better understand or solve the problem. my related code looks like the following:
Thank you. Flora asked 13 Jan ‘15, 18:50 flora edited 13 Jan ‘15, 18:52 |
One Answer:
g_hash_table_get_keys_as_array is only available starting from GLib 2.40. Given the warnings you get, I guess you have an older GLib release. So you should look at alternative methods. answered 13 Jan '15, 23:13 Pascal Quantin |