aboutsummaryrefslogtreecommitdiff
path: root/src/solvers/tables.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make the project build with Microsoft's broken C compiler.Sebastiano Tronto2026-04-061-13/+13
| | | | | | | | | | | | | MSVC is not fully C11-compliant, even when compiling with /std:c11. Some changes were needed to make the codebase compatible. Notably, the notation a[static N] and a[n] for function parameters of array type is not supported, so that had to be hidden behind a macro. Atomic types are also an experimental feature, apparently, but at least they work with the correct compiler flag. One thing that MSVC does well, however, is warning on integer conversions on /W4 level. I am not sure if Clang and GCC have something similar, so I took this chance to fix some of these.
* Added DRFIN solverSebastiano Tronto2025-08-051-0/+12
|
* Removed VLA notation from function parameters.Sebastiano Tronto2025-05-271-8/+10
| | | | | I found out that this gives undefined behavior when then size is 0. Better not to have it at all, it is confusing for other developers anyway.
* Other minor fixesSebastiano Tronto2025-05-091-2/+2
|
* Always use unsigned char * for data buffersSebastiano Tronto2025-04-211-15/+16
| | | | | Before this commit I was inconsistently using one of void *, char * and uint8_t *.
* More safety with pointers using VLA function parametersSebastiano Tronto2025-03-251-27/+22
|
* Big cleanup for appendsolution()Sebastiano Tronto2025-03-241-3/+0
| | | | | | | | | | 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
* Finished Python moduleSebastiano Tronto2024-10-191-1/+2
|
* Make gendata and co safer by checking buffer sizeSebastiano Tronto2024-10-121-32/+52
|
* Fixed tableinfo alignment issuesSebastiano Tronto2024-10-101-22/+50
|
* Avoid repeating typedefs in testsSebastiano Tronto2024-10-041-38/+2
|
* Solved alignment UB issueSebastiano Tronto2024-09-281-23/+27
|
* Simplified solverSebastiano Tronto2024-09-111-1/+16
|
* Finished table refactorSebastiano Tronto2024-09-111-3/+3
|
* New tableinfo for gendata_h48, still work to doSebastiano Tronto2024-09-101-5/+11
|
* Added tabletype to tableinfoSebastiano Tronto2024-09-101-1/+8
|
* Added next table offset to tableinfoSebastiano Tronto2024-09-101-1/+5
|
* Added tableinfoSebastiano Tronto2024-09-091-0/+93

Generated with cgit - Back to sebastiano.tronto.net