native
TrieSnapshotDestroy
Syntax
native TrieSnapshotDestroy(&Snapshot:handle);
Description
Destroys a map snapshot and frees its memory.
Parameters
| handle | Map snapshot handle |
|---|
Note
The function automatically sets the variable passed to it to 0 to aid
in preventing accidental usage after destroy.
Return
1 on success, 0 if an invalid handle was passed in