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

@@ -75,9 +75,9 @@ fn void! ByteWriter.write_byte(ByteWriter* writer, char c)
/**
* @param [&inout] writer
* @param [&inout] reader
* @param reader
**/
fn usz! ByteWriter.read_from(ByteWriter* writer, Stream* reader)
fn usz! ByteWriter.read_from(ByteWriter* writer, Stream reader)
{
usz start_index = writer.index;
if (reader.supports_available())