Skip to content

MTY_HashDestroy

chrisd1100 edited this page Aug 25, 2022 · 1 revision

Destroy an MTY_Hash.

void MTY_HashDestroy(
    MTY_Hash **  hash,
    MTY_FreeFunc freeFunc
);

Parameters

hash (MTY_Hash **)

Passed by reference and set to NULL after being destroyed.

freeFunc (MTY_FreeFunc)

Function called on each remaining value in the hash to give you the opportunity to free resources. This may be NULL if it is unnecessary.

Platform support

Windows   macOS   Android   Linux   Web  

See also

Module: Struct

Clone this wiki locally