Skip to content

MAP_get_arr_val

BigETI edited this page May 4, 2018 · 1 revision

Description

Map get value (key[])

Returns

The value if successful, otherwise 0

Syntax

MAP_get_arr_val(Map:map, const key[], key_size = sizeof key)

Example

new Map:map, arr[10] = { 100, ... };
MAP_insert_arr_val(map, arr, _, 1);
printf("The value for arr is %d", MAP_get_arr_val(map, arr));