2 Commits

Author SHA1 Message Date
Berthold Stoeger
3c3997b24e profile: use QString to format profile data
This tries to stay as close as possible to the original.
Ultimately, the whole formatting code should be reworked.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-03-30 15:20:27 +01:00
Berthold Stoeger
199cc61e07 profile: convert core/profile.c to C++
This contains mostly string manipulation, so C++ is much more
convenient.

This commit only changes the things that don't compile in C++:
- turn ?alloc/free into std::vector
- use the C++ version of the translation machinery
- add namespace for enum in pl0t_info struct

Contains minor whitespace fixes.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-03-30 15:20:27 +01:00