Add TrieGetSize native.

This commit is contained in:
Arkshine
2014-05-03 16:09:31 +02:00
parent 12a8864532
commit f3bce9ecfd
3 changed files with 39 additions and 22 deletions

View File

@ -142,3 +142,12 @@ native bool:TrieKeyExists(Trie:handle, const key[]);
*/
native TrieDestroy(&Trie:handle);
/**
* Retrieves the number of elements in a map.
*
* @param handle Map Handle.
*
* @return Number of elements in the trie.
* @error Invalid Handle.
*/
native TrieGetSize(Trie:handle);