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