Fix on rethrow + macros.

This commit is contained in:
Christoffer Lerno
2023-06-27 20:40:46 +02:00
parent 550b1f23ec
commit 57c8b5fc75
10 changed files with 140 additions and 46 deletions

View File

@@ -375,7 +375,7 @@ fn void DString.reserve(DString* str, usz addition)
*str = (DString)realloc(data, StringData.sizeof + new_capacity, .using = data.allocator);
}
fn usz! DString.read_from_stream(DString* string, Stream* reader)
fn usz! DString.read_from_stream(DString* string, Stream reader)
{
if (reader.supports_available())
{