Berthold Stoeger
411188728d
core: return pressures structure from fill_pressures()
...
Instead of taking an out-parameter. That's more idiomatic C++.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-08-13 19:28:30 +02:00
Berthold Stoeger
2df30a4144
core: remove ssrf.h include file
...
It didn't contain anything.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-08-13 19:28:30 +02:00
Berthold Stoeger
b56dd13add
build: remove extern "C" linkage
...
No more C source files, no more necessity to use C-linkage.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-08-13 19:28:30 +02:00
Berthold Stoeger
ec0bc2d06c
cleanup: replace MIN and MAX macrors by standard versions
...
In C++ files, replace MIN and MAX by std::min and std::max,
respectively. There are still a few C files using these
macros. Convert them in due course.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-04-23 07:47:11 +07:00
Berthold Stoeger
f69686d429
planner: encapsulate deco state cache in a struct
...
Removes memory management pain: the struct cleans up when it
goes out of scope.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-04-23 07:47:11 +07:00
Berthold Stoeger
77e8c3655e
core: compile planner source files with C++
...
Another relatively easily converted part of the code.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-04-23 07:47:11 +07:00