aboutsummaryrefslogtreecommitdiff
path: root/src/solvers/tables.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-03-24 23:09:26 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2025-03-24 23:09:26 +0100
commitd45e1595ec1cffeab83ac6602b748250b66bea03 (patch)
tree44b35714cdae22026fc5e15648e91684a2fbb154 /src/solvers/tables.h
parentce3f1cc0ef9f46d70ab5387b1458e9098b40711d (diff)
downloadnissy-core-d45e1595ec1cffeab83ac6602b748250b66bea03.tar.gz
nissy-core-d45e1595ec1cffeab83ac6602b748250b66bea03.zip
Big cleanup for appendsolution()
With this PR the appendsolution routine is extracted from the h48 solver and the new coordinate solver and made generic. This has many advantages: - less repetition (even if the two versions are different enough that *for now* it was not a big deal) - smaller h48/solve.h file, which is already a big beast - easier to test the appendsolution() routine separately
Diffstat (limited to 'src/solvers/tables.h')
-rw-r--r--src/solvers/tables.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/solvers/tables.h b/src/solvers/tables.h
index 3147416..65e7606 100644
--- a/src/solvers/tables.h
+++ b/src/solvers/tables.h
@@ -1,6 +1,3 @@
1/* Type definitions and macros are in a separate file for easier testing */
2#include "tables_types_macros.h"
3
4STATIC uint64_t read_unaligned_u64(const char *); 1STATIC uint64_t read_unaligned_u64(const char *);
5STATIC void write_unaligned_u64(char *, uint64_t); 2STATIC void write_unaligned_u64(char *, uint64_t);
6STATIC int64_t readtableinfo(uint64_t, const char *, tableinfo_t *); 3STATIC int64_t readtableinfo(uint64_t, const char *, tableinfo_t *);

Generated with cgit - Back to sebastiano.tronto.net