summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-06-21 23:26:54 +0200
committerGitHub <[email protected]>2020-06-21 23:26:54 +0200
commit945052d495f38371bceed66cc3ed9ae66c7bd651 (patch)
treee470138a62b01e18eb4e96fa8dc0feffe531bb7d
parent3cf88b5db9b39a739ab9b8c17e0773d589eddc05 (diff)
downloadSTC-modified-945052d495f38371bceed66cc3ed9ae66c7bd651.tar.gz
STC-modified-945052d495f38371bceed66cc3ed9ae66c7bd651.zip
Update README.md
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 773ce7b8..26438388 100644
--- a/README.md
+++ b/README.md
@@ -94,10 +94,10 @@ The containers are memory efficent. E.g. the circular list is intrusive so only
- **CHash set**: Representation: 4 pointers size. The hash table stores a key per bucket, and one table of "used/hash-value", occupying only one byte per bucket.
- **CHash map**: Same as CHash set, but each bucket in the array stores a (key, value) pair, not only the key.
-Examples
---------
+Demos
+-----
-**CString** demo
+**CString**
```
#include <stc/cstring.h>
@@ -232,7 +232,7 @@ int main() {
clist_i_destroy(&list);
}
```
-**CArray** demo
+**CArray**
```
#include <stc/carray.h>
declare_CArray(f, float);