From 2d04857e42a08d7d5428c78463b668f15d4513f5 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Thu, 16 Jul 2020 23:52:16 +0200 Subject: Updated includes to reflect rename of cvec.h and cstr.h --- examples/advanced.c | 2 +- examples/benchmark.c | 2 +- examples/complex.c | 2 +- examples/demos.c | 4 ++-- examples/geek2.c | 2 +- examples/geek3.c | 2 +- examples/geek4.c | 4 ++-- examples/geek5.c | 4 ++-- examples/prime.c | 2 +- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/examples/advanced.c b/examples/advanced.c index c4c13f10..e6b4ad2a 100644 --- a/examples/advanced.c +++ b/examples/advanced.c @@ -12,7 +12,7 @@ */ #include #include -#include +#include // Viking view struct ----------------------- diff --git a/examples/benchmark.c b/examples/benchmark.c index 45d16135..31b36b1a 100644 --- a/examples/benchmark.c +++ b/examples/benchmark.c @@ -1,5 +1,5 @@ #include "../stc/crandom.h" -#include "../stc/cstring.h" +#include "../stc/cstr.h" #include "../stc/chash.h" #include "others/khash.h" diff --git a/examples/complex.c b/examples/complex.c index 4434c9c9..feb01db2 100644 --- a/examples/complex.c +++ b/examples/complex.c @@ -1,4 +1,4 @@ -#include "../stc/cstring.h" +#include "../stc/cstr.h" #include "../stc/chash.h" #include "../stc/clist.h" #include "../stc/carray.h" diff --git a/examples/demos.c b/examples/demos.c index 3bff2b5c..037983e0 100644 --- a/examples/demos.c +++ b/examples/demos.c @@ -1,8 +1,8 @@ -#include "../stc/cvector.h" +#include "../stc/cvec.h" #include "../stc/clist.h" #include "../stc/carray.h" #include "../stc/chash.h" -#include "../stc/cstring.h" +#include "../stc/cstr.h" void stringdemo1() diff --git a/examples/geek2.c b/examples/geek2.c index 53688dd3..7ce4fd2d 100644 --- a/examples/geek2.c +++ b/examples/geek2.c @@ -1,7 +1,7 @@ #ifndef __cplusplus #include -#include +#include declare_CMap_str(ss, CStr, cstr_destroy); declare_CSet_str(ss); diff --git a/examples/geek3.c b/examples/geek3.c index ec58ccea..4db84d13 100644 --- a/examples/geek3.c +++ b/examples/geek3.c @@ -1,7 +1,7 @@ // xx3.c #include -#include +#include declare_CMap_str(si, int); declare_CMap_str(ss, CStr, cstr_destroy); diff --git a/examples/geek4.c b/examples/geek4.c index c514e601..3f0f7f79 100644 --- a/examples/geek4.c +++ b/examples/geek4.c @@ -34,8 +34,8 @@ Efficient Approach: For all the words of the first sentence, we can check if it // C implementation of the approach #include -#include -#include +#include +#include declare_CVec_str(s); declare_CMap_str(sb, bool); diff --git a/examples/geek5.c b/examples/geek5.c index 759d22e3..0af114b7 100644 --- a/examples/geek5.c +++ b/examples/geek5.c @@ -18,8 +18,8 @@ Output: 0 #ifndef __cplusplus #include -#include -#include +#include +#include declare_CVec(i, int); declare_CMap_str(sv, CVec_i, cvec_i_destroy); diff --git a/examples/prime.c b/examples/prime.c index 65b51057..f327fb4e 100644 --- a/examples/prime.c +++ b/examples/prime.c @@ -3,7 +3,7 @@ #include #include #include -#include "stc/cvector.h" +#include "stc/cvec.h" static inline void setBit(uint32_t* a, const size_t i) { a[i >> 5] |= 1u << (i & 31); } static inline void clearBit(uint32_t* a, const size_t i) { a[i >> 5] &= ~(1u << (i & 31)); } -- cgit v1.2.3