Added ./cor headers to macro_collections.h for completeness and added formatting

This commit is contained in:
Leonardo committed 2020-04-17 01:03:13 -03:00
1 parent 831037df42
commit 2a7aa8e4cb
3 files changed
+9 -2

No files matched your search

+4 -1
View File
@@ -2,11 +2,14 @@
.PHONY: all cmc dev sac utl tests FORCE
all: cmc dev sac utl tests
all: cmc cor dev sac utl tests
cmc: FORCE
clang-format --style=file -i ./src/cmc/*.h
cor: FORCE
clang-format --style=file -i ./src/cor/*.h
dev: FORCE
clang-format --style=file -i ./src/dev/*.h
+2 -1
View File
@@ -39,7 +39,8 @@ enum cmc_entry_state
/**
* static const size_t cmc_hashtable_primes[59]
*
* Prime numbers used to define a capacity for the hashtables for better hashing.
* Prime numbers used to define a capacity for the hashtables for better
* hashing.
*/
// clang-format off
static const size_t cmc_hashtable_primes[] = {
+3
View File
@@ -25,6 +25,9 @@
#define CMC_COLLECTION_GENERATE_SOURCE(C, PFX, SNAME, K, V) \
CMC_CONCAT(C, SOURCE)(PFX, SNAME, K, V)
#include "cor/core.h" /* Added in 17/03/2020 */
#include "cor/hashtable.h" /* Added in 17/03/2020 */
#include "cmc/bidimap.h" /* Added in 26/09/2019 */
#include "cmc/deque.h" /* Added in 20/03/2019 */
#include "cmc/hashmap.h" /* Added in 03/04/2019 */