From fdd4e00245492478f15bbf4add05dffd551ddef9 Mon Sep 17 00:00:00 2001 From: Tyge Løvset <60263450+tylo-work@users.noreply.github.com> Date: Tue, 31 Mar 2020 09:48:31 +0200 Subject: Update README.md --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 0eb12f55..359be9fa 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# c_lib +# ccl Introduction ------------ @@ -10,7 +10,7 @@ Usage ----- CString demo: ``` -#include +#include int main() { CString cs = cstring_make("one-nine-three-seven-five"); @@ -36,7 +36,7 @@ int main() { ``` Simple CVector of 64bit ints: ``` -#include +#include declare_CVector(ix, int64_t); // ix is just an example tag name, use anything without underscore. int main() { @@ -54,8 +54,8 @@ int main() { ``` CVector of CString: ``` -#include -#include +#include +#include declare_CVector(cs, CString, cstring_destroy); // supply inline destructor of values int main() { @@ -70,7 +70,7 @@ int main() { ``` Simple CMap, int -> int: ``` -#include +#include declare_CMap(ii, int, int); int main() { @@ -84,8 +84,8 @@ int main() { ``` Simple CMap, CString -> int: ``` -#include -#include +#include +#include declare_CMap_stringkey(si, int); // Shorthand macro for the general declare_CMap expansion. // CString keys are "magically" managed internally, although CMap is ignorant of CString. @@ -108,8 +108,8 @@ int main() { ``` CMap, with CString -> CString. Temporary CString values are created by "make", and moved to the container. ``` -#include -#include +#include +#include declare_CMap_stringkey(ss, CString, cstring_destroy); int main() { -- cgit v1.2.3