summaryrefslogtreecommitdiff
path: root/asl/format.cpp
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2024-10-08 23:33:21 +0200
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2024-12-20 15:35:58 +0100
commit0e7999f2d147b026aaee6693bdd2be2cb4a2519e (patch)
treeb5bc7e49f732009f5d5f26ec625f4fa96935d40a /asl/format.cpp
parent85462f25d6335bcca9423b6fc1e624d9a76a2375 (diff)
Start work on formatting
Diffstat (limited to 'asl/format.cpp')
-rw-r--r--asl/format.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/asl/format.cpp b/asl/format.cpp
new file mode 100644
index 0000000..890e532
--- /dev/null
+++ b/asl/format.cpp
@@ -0,0 +1,12 @@
+#include "asl/format.hpp"
+
+void asl::format_internals::format(
+ writer* writer,
+ const char* fmt,
+ const type_erased_arg* args,
+ int64_t arg_count)
+{
+ formatter f(writer);
+
+ f.write("Hello", 5);
+}