24 #ifndef __ARSA_HASH_H__ 25 #define __ARSA_HASH_H__ 61 #endif // !__ARSA_HASH_H__ ARSA_API void ARSACALLCONV hash_free(SHash **hash)
free all hash table, except user data
ARSA_API void *ARSACALLCONV hash_get_userdata(SHash *hash, const irr::core::stringc &name)
get userdata in hash table by name
GLuint const GLchar * name
Main header file of the irrlicht, the only file needed to include.
Very simple string class with some useful features.
unsigned int u32
32 bit unsigned variable.
ARSA_API SHash *ARSACALLCONV hash_next(SHash *hash)
next element in hash table
ARSA_API irr::u32 ARSACALLCONV hash_size(SHash *hash)
elements count in hash table
ARSA_API SHash *ARSACALLCONV hash_get(SHash *hash, const irr::core::stringc &name)
get data in hash table by name
ARSA_API SHash *ARSACALLCONV hash_push_back(SHash *hash, const irr::core::stringc &name, void *userdata)
add new element to hash table
ARSA_API SHash *ARSACALLCONV hash_create()
create first hash table
ARSA_API void ARSACALLCONV hash_clear(SHash *hash, void(*clear)(const void *)=0)
clear all elements in hash table
ARSA_API const char *ARSACALLCONV hash_get_name(SHash *hash)
get name in currently hash
ARSA_API void ARSACALLCONV hash_erase(SHash **hash, SHash *dead)
del data in hash table
ARSA_API void ARSACALLCONV hash_sort(SHash *hash, int(*compar)(const void *, const void *))