dict_add_key_value
Last updated March 2020
Name
dict_add_key_value — Add the specified key/value pair
Synopsis
#include "ecdict.h"
| void **dict_add_key_value** (
| a, | |
| | key, | |
| | val)
; | |
ECDict <var class="pdparam">a</var>
;
const char * <var class="pdparam">key</var>
;
const char * <var class="pdparam">val</var>
;
Description
Add the specified key/value pair to the dictionary.
- a
-
The ECDict. An ECDict is a typedef of an ec_hash_table.
- key
-
The new key.
- val
-
The new value associated with the
key
.
This function returns void.
It is legal to call this function in any thread.
See Also
Was this page helpful?