[ Version ( since = "1.66" ) ]
public void argument_from_hash_pointer (void* hash_pointer, Argument arg)
GLib data structures, such as List, SList, and GenericSet , all store data pointers.
In the case where the list or hash table is storing single types rather than structs, these data pointers may have values stuffed into them via macros such as from_pointer.
Use this function to ensure that all values are correctly extracted from stuffed pointers, regardless of the machine's architecture or endianness.
This function fills in the appropriate field of arg
with the value extracted from hash_pointer
, depending on
the storage type of info
.
hash_pointer |
A pointer, such as a GenericSet data pointer |
arg |
A Argument to fill in |
info |
a TypeInfo |