working on debuging chemical language string
This commit is contained in:
parent
bb3601b8f2
commit
18fc05d3d4
4 changed files with 34 additions and 23 deletions
|
|
@ -53,12 +53,11 @@ typedef struct ARC_Hashtable ARC_Hashtable;
|
|||
* @brief cteates ARC_Hashtable type
|
||||
*
|
||||
* @note if the default hashing function is used (CRC32), then the key value needs to be a string or end in '\0'
|
||||
* @note an error will be thrown if the key is NULL
|
||||
*
|
||||
* @param[out] hashtable ARC_Hashtable to initialize
|
||||
* @param[in] hashFn a callback for a hashing function to be used, if set to NULL, CRC32 will be used
|
||||
* @param[in] compareFn a callback for checking keys, if set to NULL, addresses will be compared
|
||||
* @param[in] destroyKeyValueFn a callback to free the key and value
|
||||
* @param[in] destroyKeyValueFn a callback to free the key and value, if set to NULL, it will not free anything
|
||||
*/
|
||||
void ARC_Hashtable_Create(ARC_Hashtable **hashtable, ARC_Hashtable_HashFn *hashFn, ARC_Hashtable_KeyCompareFn *keyCompareFn, ARC_Hashtable_DestroyKeyValueFn *destroyKeyValueFn);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue