Fix some issues with formatted_print:

* Add a va_list version which can be correctly used by ivprintf (fixes pycdas output)
* Use a `const char*` format parameter to avoid the need for clang warning workarounds
* Make better use of return values.
This commit is contained in:
Michael Hansen
2023-06-05 13:49:04 -07:00
parent 482c32d84e
commit 8bb8386764
4 changed files with 26 additions and 18 deletions

View File

@@ -2,7 +2,6 @@
#include "pyc_module.h"
#include "data.h"
#include <stdexcept>
#include <ostream>
static bool check_ascii(const std::string& data)
{