Zrythm
a highly automated and intuitive digital audio workstation
|
Dictionary implementation. More...
#include <cstdlib>
#include "gtk_wrapper.h"
Go to the source code of this file.
Data Structures | |
struct | DictionaryEntry |
struct | Dictionary |
Macros | |
#define | DICTIONARY_PUSH(s, element) dictionary_push (s, (void *) element) |
#define | dictionary_find_simple(dict, key, type) ((type *) dictionary_find (dict, key, NULL)) |
#define | dictionary_add(dict, key, val) _dictionary_add (dict, key, (void *) val) |
Functions | |
Dictionary * | dictionary_new (void) |
void * | dictionary_find (Dictionary *dict, const char *key, void *def) |
void | _dictionary_add (Dictionary *dict, const char *key, void *value) |
void | dictionary_free (Dictionary *self) |
Dictionary implementation.
Definition in file dictionary.h.
#define dictionary_add | ( | dict, | |
key, | |||
val ) _dictionary_add (dict, key, (void *) val) |
Definition at line 52 of file dictionary.h.
#define dictionary_find_simple | ( | dict, | |
key, | |||
type ) ((type *) dictionary_find (dict, key, NULL)) |
Definition at line 46 of file dictionary.h.
#define DICTIONARY_PUSH | ( | s, | |
element ) dictionary_push (s, (void *) element) |
Definition at line 26 of file dictionary.h.