dict_key_exists_and_fetch — If the specified key exists, retrieve its value
int **dict_key_exists_and_fetch** ( | a, | |
| | key, | |
| | value
); | |
If the specified key exists, retrieve its value.
The dictionary. An ECDict is a typedef of an ec_hash_table.
The associated value.
1 if the key exists,
0 if it does not exist. If the key exists its value can be found at
When a key or value is returned, the memory is owned by the dictionary. Your memory can become invalid if something else removes an entry from the dictionary after you have queried it.
It is legal to call this function in any thread.