solutions_types_macros.h (424B)
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 uint8_t optimal; 16 uint8_t orientation; 17 } solution_settings_t; 18 19 typedef struct { 20 _Atomic uint64_t nsols; 21 uint8_t shortest_sol; 22 size_t size; 23 size_t used; 24 char *buf; 25 } solution_list_t;