From 1c136653da2a89c69e5f64101eae92b3faaed260 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 8 Apr 2024 14:59:02 +0200 Subject: Fix FIG completeness calculation, add length histogram --- src/utils.hpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'src/utils.hpp') diff --git a/src/utils.hpp b/src/utils.hpp index ee5f7c9..23f767d 100644 --- a/src/utils.hpp +++ b/src/utils.hpp @@ -48,28 +48,27 @@ struct display_settings_t { std::string strprintf(const char* fmt, ...); -void printbuf(const std::string& header, +void printfig(const std::string& header, const display_settings_t &disp, uint8_t* buffer, size_t size, const std::string& desc="", const std::string& value=""); -void printfig(const std::string& header, - const display_settings_t &disp, - uint8_t* buffer, - size_t size, +void printbuf(const std::string& header, + int indent, + uint8_t* buffer=nullptr, + size_t size=0, const std::string& desc="", const std::string& value=""); void printbuf(const std::string& header, - int indent, + const display_settings_t &disp, uint8_t* buffer, size_t size, const std::string& desc="", const std::string& value=""); -void printbuf(const std::string& header, int indent = 0); void printvalue(const std::string& header, int indent = 0, -- cgit v1.2.3