More fixes for typedef @constinit change

This commit is contained in:
Christoffer Lerno
2026-02-14 01:37:53 +01:00
parent fac9054f1b
commit eb80776988
20 changed files with 199 additions and 176 deletions

View File

@@ -4,13 +4,13 @@ import std::core::mem::allocator;
typedef String @if(!$defined(String)) = inline char[];
typedef String @constinit @if(!$defined(String)) = inline char[];
<*
ZString is a pointer to a zero terminated array of chars.
Use ZString when you need to interop with C zero terminated strings.
*>
typedef ZString = inline char*;
typedef ZString @constinit = inline char*;
<*
WString is a pointer to a zero terminated array of Char16.