diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-03-24 23:09:26 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-03-24 23:09:26 +0100 |
| commit | d45e1595ec1cffeab83ac6602b748250b66bea03 (patch) | |
| tree | 44b35714cdae22026fc5e15648e91684a2fbb154 /src/solvers/tables.h | |
| parent | ce3f1cc0ef9f46d70ab5387b1458e9098b40711d (diff) | |
| download | nissy-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.h | 3 |
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 | |||
| 4 | STATIC uint64_t read_unaligned_u64(const char *); | 1 | STATIC uint64_t read_unaligned_u64(const char *); |
| 5 | STATIC void write_unaligned_u64(char *, uint64_t); | 2 | STATIC void write_unaligned_u64(char *, uint64_t); |
| 6 | STATIC int64_t readtableinfo(uint64_t, const char *, tableinfo_t *); | 3 | STATIC int64_t readtableinfo(uint64_t, const char *, tableinfo_t *); |
