projects
/
cgds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add basic Set implementation - TODO: add iterators for Set and HashTable
[cgds.git]
/
src
/
HashTable.h
diff --git
a/src/HashTable.h
b/src/HashTable.h
index
686e2bb
..
9ed3755
100644
(file)
--- a/
src/HashTable.h
+++ b/
src/HashTable.h
@@
-90,7
+90,7
@@
void* _hashtable_get(
* @param key Key of the element to retrieve..
* @param data 'out' variable (ptr) to contain the result.
*
* @param key Key of the element to retrieve..
* @param data 'out' variable (ptr) to contain the result.
*
- * Usage: void hashtable_get(HashTable* hashTable, char* key, void data)
+ * Usage: void hashtable_get(HashTable* hashTable, char* key, void
*
data)
*/
#define hashtable_get(hashTable, key, data) \
{ \
*/
#define hashtable_get(hashTable, key, data) \
{ \
@@
-122,6
+122,8
@@
void _hashtable_set(
/**
* @brief Remove the given key (+ associated value).
/**
* @brief Remove the given key (+ associated value).
+ *
+ * Usage: void hashtable_delete(HashTable* hashTable, char* key)
*/
void hashtable_delete(
HashTable* hashTable, ///< "this" pointer.
*/
void hashtable_delete(
HashTable* hashTable, ///< "this" pointer.