https://github.com/t-88/pp-hat
https://github.com/t-88/pp-hat
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/t-88/pp-hat
- Owner: t-88
- License: mit
- Created: 2023-06-09T23:11:31.000Z (almost 2 years ago)
- Default Branch: base
- Last Pushed: 2024-03-31T00:28:11.000Z (about 1 year ago)
- Last Synced: 2025-02-01T23:44:51.491Z (4 months ago)
- Language: C
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pp-hat
short for personal portable hash table, its a hash table c header library implementation
**dont use it**## Functions
* PpHat* pphat_create();
* void pphat_free(PpHat* table);
* void pphat_insert(PpHat** table,char* name,int value);
* void pphat_print(const PpHat* table);
* int pphat_get(const PpHat* table,const char* key);
* bool pphat_contains(const PpHat* table,const char* key);
## Run
for examples check out [example.c](./example.c)
```
$ ./run.sh
```