#include <stdbool.h>
#include <stdint.h>
+#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
+
enum Direction
{
typedef struct
{
unsigned int refCount;
- unsigned int traceNb;
PairFactors** pairFactors;
} AllFactors;
void destroyPairFactors(PairFactors* factorsCHull);
AllFactors* createAllFactors(const unsigned int traceNb);
-void freeAllFactors(AllFactors* const allFactors);
+void freeAllFactors(AllFactors* const allFactors, const unsigned int traceNb);
#endif