summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-03-31 09:49:07 +0200
committerGitHub <[email protected]>2020-03-31 09:49:07 +0200
commit1685d4cab04588df31b08f12127c6967f1ae5f7a (patch)
tree44b649794f7452efcc7befa94398d542db1cf5b8
parentfdd4e00245492478f15bbf4add05dffd551ddef9 (diff)
downloadSTC-modified-1685d4cab04588df31b08f12127c6967f1ae5f7a.tar.gz
STC-modified-1685d4cab04588df31b08f12127c6967f1ae5f7a.zip
Update EXAMPLE.md
-rw-r--r--EXAMPLE.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/EXAMPLE.md b/EXAMPLE.md
index 48bc1cc1..de1160ce 100644
--- a/EXAMPLE.md
+++ b/EXAMPLE.md
@@ -10,7 +10,7 @@ The difficulty with the hash function is that if your key type consists of sever
Assuming a key-type like this, and want string as value, we define the functions person_make(), person_destroy() and person_compare():
```
-#include <c_lib/cstring.h>
+#include <ccl/cstring.h>
struct Person
{
@@ -51,7 +51,7 @@ size_t person_hash(const struct Person* p, size_t ignore) {
```
With this in place, you can instantiate a CMap with Person => CString:
```
-#include <c_lib/CMap.h>
+#include <ccl/CMap.h>
declare_CMap(ex, struct Person, CString, cstring_destroy, person_hash, person_compare, person_destroy);
int main()