Simple hash table C API. Does not allow 0 values for items... More...
Typedefs | |
typedef enum _Itable_IndexTypes | Itable_IndexTypes |
typedef enum _Itable_Types | Itable_Types |
typedef void(* | Ifunc )(void) |
typedef struct _Itable | Itable |
Enumerations | |
enum | _Itable_IndexTypes { IUPTABLE_POINTERINDEXED = 10, IUPTABLE_STRINGINDEXED } |
enum | _Itable_Types { IUPTABLE_POINTER, IUPTABLE_STRING, IUPTABLE_FUNCPOINTER } |
Functions | |
IUP_SDK_API Itable * | iupTableCreate (Itable_IndexTypes indexType) |
IUP_SDK_API Itable * | iupTableCreateSized (Itable_IndexTypes indexType, unsigned int initialSizeIndex) |
IUP_SDK_API void | iupTableDestroy (Itable *it) |
IUP_SDK_API void | iupTableClear (Itable *it) |
IUP_SDK_API int | iupTableCount (Itable *it) |
IUP_SDK_API void | iupTableSet (Itable *it, const char *key, void *value, Itable_Types itemType) |
IUP_SDK_API void | iupTableSetFunc (Itable *it, const char *key, Ifunc func) |
IUP_SDK_API void * | iupTableGet (Itable *it, const char *key) |
IUP_SDK_API Ifunc | iupTableGetFunc (Itable *it, const char *key, void **value) |
IUP_SDK_API void * | iupTableGetTyped (Itable *it, const char *key, Itable_Types *itemType) |
IUP_SDK_API void | iupTableRemove (Itable *it, const char *key) |
IUP_SDK_API char * | iupTableFirst (Itable *it) |
IUP_SDK_API char * | iupTableNext (Itable *it) |
IUP_SDK_API void * | iupTableGetCurr (Itable *it) |
IUP_SDK_API int | iupTableGetCurrType (Itable *it) |
IUP_SDK_API void | iupTableSetCurr (Itable *it, void *value, Itable_Types itemType) |
IUP_SDK_API char * | iupTableRemoveCurr (Itable *it) |
See Copyright Notice in "iup.h"