mg_map_at2

Looks up a map value with the given key.

extern (C)
const(mg_value)*
mg_map_at2
(
const mg_map* map
,,
const char* key_data
)

Parameters

key_size uint

The length of the string representing the key to be looked-up in the map.

key_data char*

Bytes constituting the key string.

Return: If the key is found in the map, the pointer to the corresponding mg_value is returned. Otherwise, NULL is returned.

Meta