summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-03-16 18:48:04 +0100
committerGitHub <[email protected]>2020-03-16 18:48:04 +0100
commitccb08cd06df7ef08892584a96678f14ca163f98d (patch)
tree276322d24ec9e96913b740c413b1c83afbb8af8c
parenta975745f0d96785f52785531dc0bcb73c502c285 (diff)
downloadSTC-modified-ccb08cd06df7ef08892584a96678f14ca163f98d.tar.gz
STC-modified-ccb08cd06df7ef08892584a96678f14ca163f98d.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 b49c71f3..fb34c51c 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 <clib/cstring.h>
+#include <c_lib/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 <clib/CMap.h>
+#include <c_lib/CMap.h>
declare_CMap(ex, struct Person, CString, cstring_destroy, person_compare, person_hash, person_destroy);
int main()