|
Sound Design Toolkit
078
Physically informed sound synthesis for everyday sounds
|
Typedefs | |
| typedef struct SDTHashmap | SDTHashmap |
| Opaque data structure for a hashmap object. | |
| typedef struct SDTHashmap | SDTHashmap |
| Opaque data structure for a hashmap object. | |
Functions | |
| SDTHashmap * | SDTHashmap_new (int size) |
| Object constructor. More... | |
| void | SDTHashmap_free (SDTHashmap *x) |
| Object destructor. More... | |
| void * | SDTHashmap_get (SDTHashmap *x, char *key) |
| Looks for an entry with the given key in the hashmap. More... | |
| int | SDTHashmap_put (SDTHashmap *x, char *key, void *value) |
| Inserts a key/value pair in the hashmap. More... | |
| int | SDTHashmap_del (SDTHashmap *x, char *key) |
| Deletes a key/value pair from the hashmap. More... | |
| void | SDTHashmap_clear (SDTHashmap *x) |
| Deletes all the entries in the hashmap. | |
| int SDTHashmap_del | ( | SDTHashmap * | x, |
| char * | key | ||
| ) |
Deletes a key/value pair from the hashmap.
| [in] | key | Key to look for in the hashmap |
| void SDTHashmap_free | ( | SDTHashmap * | x | ) |
Object destructor.
| [in] | x | pointer to the instance to destroy |
| void * SDTHashmap_get | ( | SDTHashmap * | x, |
| char * | key | ||
| ) |
Looks for an entry with the given key in the hashmap.
| [in] | key | Key to look for in the hashmap |
| SDTHashmap * SDTHashmap_new | ( | int | size | ) |
Object constructor.
| [in] | size | Number of bins in the hashmap |
| int SDTHashmap_put | ( | SDTHashmap * | x, |
| char * | key, | ||
| void * | value | ||
| ) |
Inserts a key/value pair in the hashmap.
| [in] | key | Key to associate to the value |
| [in] | value | Value to insert in the hashmap |