Skip to content

MTY_HashGet

chrisd1100 edited this page Aug 25, 2022 · 1 revision

Get a value from a hash by string key.

void *MTY_HashGet(
    MTY_Hash *   ctx,
    const char * key
);

Parameters

ctx (MTY_Hash *)

An MTY_Hash.

key (const char *)

String key to lookup.

Return value

void *

The value associated with key, otherwise NULL.

Platform support

Windows   macOS   Android   Linux   Web  

See also

Module: Struct

Clone this wiki locally