diff options
| author | Tyge Lovset <[email protected]> | 2023-01-26 19:44:19 +0100 |
|---|---|---|
| committer | Tyge Lovset <[email protected]> | 2023-01-26 19:44:19 +0100 |
| commit | e19a681a1df63cb8af5dc5605b8a6626969032fe (patch) | |
| tree | 05d576ca679feb48e8102502bfd7f2fba1cfc913 /misc/examples | |
| parent | 0c7e627aa27ba42b9a9a4472a4f1cdf857c1a833 (diff) | |
| download | STC-modified-e19a681a1df63cb8af5dc5605b8a6626969032fe.tar.gz STC-modified-e19a681a1df63cb8af5dc5605b8a6626969032fe.zip | |
update cregex_test.c. Rename using_... to use_...
Diffstat (limited to 'misc/examples')
| -rw-r--r-- | misc/examples/csmap_find.c | 6 | ||||
| -rw-r--r-- | misc/examples/multidim.c | 2 | ||||
| -rw-r--r-- | misc/examples/printspan.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/misc/examples/csmap_find.c b/misc/examples/csmap_find.c index a61a47be..a94348f8 100644 --- a/misc/examples/csmap_find.c +++ b/misc/examples/csmap_find.c @@ -16,7 +16,7 @@ void print_elem(csmap_istr_raw p) { printf("(%d, %s) ", p.first, p.second); } -#define using_print_collection(CX) \ +#define use_print_collection(CX) \ void print_collection_##CX(const CX* t) { \ printf("%" c_ZU " elements: ", CX##_size(t)); \ \ @@ -26,8 +26,8 @@ void print_elem(csmap_istr_raw p) { puts(""); \ } -using_print_collection(csmap_istr) -using_print_collection(cvec_istr) +use_print_collection(csmap_istr) +use_print_collection(cvec_istr) void findit(csmap_istr c, csmap_istr_key val) { diff --git a/misc/examples/multidim.c b/misc/examples/multidim.c index 8a5492dc..37360516 100644 --- a/misc/examples/multidim.c +++ b/misc/examples/multidim.c @@ -4,7 +4,7 @@ #include <stc/cspan.h> #include <stdio.h> -using_cspan3(ispan, int); +use_cspan3(ispan, int); int main() { diff --git a/misc/examples/printspan.c b/misc/examples/printspan.c index 82b54367..a27d8bbd 100644 --- a/misc/examples/printspan.c +++ b/misc/examples/printspan.c @@ -12,7 +12,7 @@ #include <stc/cset.h> #include <stc/cspan.h> -using_cspan(intspan, int, 1); +use_cspan(intspan, int, 1); void printMe(intspan container) { printf("%d:", (int)cspan_size(&container)); |
