Sign in
◑
Theme
gdch-oss
/
third_party
/
c8f2b0872f409b3114442b7dafc78f392db69710
/
.
/
runtime
/
docs
/
examples
/
map.c
blob: f5f6f19fdd5ad6d47ab0a89c84588eca93588e6a [
file
]
/* create a map with a max of 100 elements */
MAP mymap
=
_stp_map_new
(
100
,
INT64
);
/* mymap[birth year] = 2000 */
map_key_str
(
mymap
,
"birth year"
);
map_set_int64
(
mymap
,
2000
);