mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-31 00:30:57 +00:00
add Hash_GetList to get a list of elements in the hash table (unsorted)
This commit is contained in:
parent
081a44e5bc
commit
40d0490b7c
2 changed files with 35 additions and 0 deletions
|
@ -114,4 +114,10 @@ void *Hash_DelElement (hashtab_t *tab, void *ele);
|
|||
*/
|
||||
unsigned long Hash_String (const char *str);
|
||||
|
||||
/*
|
||||
return a list of all elements in the table. it is the caller's
|
||||
responsibilty to free() the array. Null terminated.
|
||||
*/
|
||||
void **Hash_GetList (hashtab_t *tab);
|
||||
|
||||
#endif // __hash_h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue