solutions_types_macros.h (401B)
1 #define MAXLEN 20 2 3 typedef struct { 4 uint8_t nmoves; 5 uint8_t moves[MAXLEN]; 6 uint8_t npremoves; 7 uint8_t premoves[MAXLEN]; 8 } solution_moves_t; 9 10 typedef struct { 11 uint64_t tmask; 12 bool unniss; 13 uint8_t maxmoves; 14 uint64_t maxsolutions; 15 int8_t optimal; 16 } solution_settings_t; 17 18 typedef struct { 19 _Atomic uint64_t nsols; 20 uint8_t shortest_sol; 21 size_t size; 22 size_t used; 23 char *buf; 24 } solution_list_t;