#include <stdlib.h>
Go to the source code of this file.
Typedef Documentation
typedef void(* guiDataDestroyFunc)(void *objdata) |
Function Documentation
Free 'data' and all associated objdata.
void gui_data_remove |
( |
guiData |
data, |
|
|
const char * |
key |
|
) |
| |
Free the data and the list entry associated with 'key'.
void** gui_data_get |
( |
guiData |
data, |
|
|
const char * |
key |
|
) |
| |
Get the data associated with "key", return the address of the
stored data.
Append 'objdata' to 'data'. The data is indexed by 'key'. If there
is already data associated with 'key' the new data will replace it.
'destroy' is called when the data is removed.
Return the address of the stored 'objdata'.