From 0df0ebbdeb7aa2c39b1e0127a7831c43522f2f76 Mon Sep 17 00:00:00 2001 From: Leonardo Date: Sat, 14 Sep 2019 00:38:13 -0300 Subject: [PATCH] Update TODO, quick fixes in a makefile and in assert.h --- TODO | 32 +++++++++++++++++++------------- src/utl/assert.h | 2 +- tests/main/Makefile | 4 ++-- 3 files changed, 22 insertions(+), 16 deletions(-) diff --git a/TODO b/TODO index f727a76..8226732 100644 --- a/TODO +++ b/TODO @@ -4,31 +4,37 @@ TODO [X] - Finished [~] - Needs to be reviewed -[/] Documentation -[X] Remove PUBLIC and PRIVATE -[ ] Extra Collections - [X] Add MultiSet - [X] Add MultiMap - [X] Add IntervalHeap +[ ] Future possible Collections [ ] Add TreeHashMap [ ] Add SortedList [ ] Add BiDiMap + [ ] Add Trie (or any variant) + +[/] Documentation +[X] Remove PUBLIC and PRIVATE +[X] Extra Collections + [X] Add MultiSet + [X] Add MultiMap + [X] Add IntervalHeap [ ] Add functions [X] update {hashmap, treemap, multimap} [X] set {hashmap, treemap, multimap} [X] to_string {all} - [ ] iter_advance {all} (iterators) - [ ] iter_rewind {all} (iterators) - [ ] iter_go_to {all} (iterators) + [X] iter_advance {all} (iterators) + [X] iter_rewind {all} (iterators) + [X] iter_go_to {all} (iterators) [ ] from_array {all} [ ] to_array {all} [X] equals {all} [X] copy_of {all} [ ] resize {dynamic arrays and circular buffers} - [ ] save {all} (serialization) - [ ] load {all} (serialization) - [ ] read {all} (serialization) - [ ] write {all} (serialization) +[ ] Serialization + [ ] save {all} + [ ] load {all} + [ ] serialize {all} + [ ] deserialize {all} +[ ] Add callback utility +[ ] Zip Iterators [ ] Stack Allocated Collections [ ] Deque [ ] HashMap diff --git a/src/utl/assert.h b/src/utl/assert.h index 2c20da4..2367410 100644 --- a/src/utl/assert.h +++ b/src/utl/assert.h @@ -11,7 +11,7 @@ /** * Definition of many typed non-abortive assertions. Every assertion that fails * will print a message to stderr but will not abort the program execution. - * There are 4 main macros: + * There are 9 main macros: * * - cmc_assert * - cmc_assert_equals diff --git a/tests/main/Makefile b/tests/main/Makefile index ba0067b..bb54420 100644 --- a/tests/main/Makefile +++ b/tests/main/Makefile @@ -9,13 +9,13 @@ main: FORCE ./main gcov ./main.c -dev: +dev: FORCE $(CC) main.c -o main $(CFLAGS) $(CVFLAGS) -I $(INCLUDE) ./main gcov ./main.c -n rm *.gcda *.gcno *.exe -windev: +windev: FORCE $(CC) main.c -o main $(CFLAGS) $(CVFLAGS) -I $(INCLUDE) ./main gcov ./main.c -n