From e1f9d9ca1ef3c69da3b887b0af298be0aea4a5f9 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Wed, 23 Oct 2024 00:20:05 +0200 Subject: More work on testing framework --- asl/format.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'asl/format.cpp') diff --git a/asl/format.cpp b/asl/format.cpp index ff565bd..99ad9da 100644 --- a/asl/format.cpp +++ b/asl/format.cpp @@ -70,6 +70,11 @@ void asl::format_internals::format( f.write(begin, fmt - begin); } +void asl::AslFormat(formatter& f, const char* str) +{ + f.write(str, static_cast(__builtin_strlen(str))); +} + void asl::AslFormat(formatter& f, float) { f.write("", 7); // @Todo Float formatting -- cgit