[Glacier] Add a specific VariableStringBuilder for StrFormat.

This commit is contained in:
Drew Galbraith 2023-11-09 08:52:30 -08:00
parent a745f45b5d
commit 601f29c324
6 changed files with 58 additions and 24 deletions

View file

@ -3,10 +3,7 @@
#include <glacier/status/error.h>
#include <zcall.h>
void dbgln(const glcr::StringBuilder& builder) {
glcr::String str = builder.ToString();
(void)ZDebug(str.cstr());
}
void dbgln(const glcr::String& string) { (void)ZDebug(string.cstr()); }
void check(uint64_t code) {
switch (code) {