Skip to content

Commit

Permalink
c11 update
Browse files Browse the repository at this point in the history
  • Loading branch information
glouw committed Dec 30, 2020
1 parent 11965c7 commit 332c562
Show file tree
Hide file tree
Showing 11 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ CFLAGS += -DSRAND
endif

TESTS = \
tests/func/test_c99 \
tests/func/test_c11 \
tests/func/test_container_composing \
tests/func/test_deq \
tests/func/test_lst \
Expand Down Expand Up @@ -108,7 +108,7 @@ examples/postfix: ALWAYS; $(CC) $(CFLAGS) [email protected] -o $@
examples/json: ALWAYS; $(CC) $(CFLAGS) $@.c -o $@
examples/snow: ALWAYS; $(CC) $(CFLAGS) $@.c -o $@
examples/6502: ALWAYS; $(CC) $(CFLAGS) $@.c -o $@
tests/func/test_c99: ALWAYS; $(CC) $(CFLAGS) $@.c -o $@
tests/func/test_c11: ALWAYS; $(CC) $(CFLAGS) $@.c -o $@
tests/func/test_container_composing: ALWAYS; $(CXX) $(CFLAGS) $@.cc -o $@
tests/func/test_deq: ALWAYS; $(CXX) $(CFLAGS) $@.cc -o $@
tests/func/test_lst: ALWAYS; $(CXX) $(CFLAGS) $@.cc -o $@
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# C TEMPLATE LIBRARY (CTL)

CTL is a fast compiling, type safe, header only, template-like library for ISO C99.
CTL is a fast compiling, type safe, header only, template-like library for ISO C11.

## Motivation

CTL aims to improve C99 developer productivity by implementing the following
STL containers in ISO C99:
CTL aims to improve C11 developer productivity by implementing the following
STL containers in ISO C11:

```
deq.h = std::deque
Expand Down Expand Up @@ -74,7 +74,7 @@ type type_copy(type*);
Forgetting a declaration will print a human-readable error message:
```shell
tests/test_c99.c:11:11: error: ‘type_free’ undeclared (first use in this function)
tests/test_c11.c:11:11: error: ‘type_free’ undeclared (first use in this function)
11 | #define T type
```

Expand Down
2 changes: 1 addition & 1 deletion gen_images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,5 @@ perf_graph \
perf_compile_two_bar \
'compile.log' \
"CTL vs STL Compilation ($CFLAGS) ($VERSION)" \
'tests/perf/perf_compile_c99.c' \
'tests/perf/perf_compile_c11.c' \
'tests/perf/perf_compile_cc.cc'
Binary file modified images/compile.log.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/deq.log.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/lst.log.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/pqu.log.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/set.log.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/vec.log.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.

0 comments on commit 332c562

Please sign in to comment.