Skip to content
Snippets Groups Projects
Commit bf97fece authored by Lubos Slovak's avatar Lubos Slovak
Browse files

Functions for removing and updating hashtable item

Added functions ck_remove_item() and ck_update_item().
Refactored code of find functions:
  - private functions now return non-const ck_hash_table_item **
    (used in ck_update_item() and ck_remove_item())
  - ck_find_item() only checks the pointer and returns const
    pointer

Added test for removal (test_remove()) and changed the main
  testing function to test_fnc_from_file() which is given pointer
  to the function to use for testing (used for insert and remove).
Added some comments to hash table.
parent 207b28b9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment