mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Updated stream API.
This commit is contained in:
committed by
Christoffer Lerno
parent
a6cff5c2a5
commit
9a6d83f526
@@ -378,7 +378,7 @@ fn void DString.reserve(&self, usz addition)
|
||||
*self = (DString)realloc(data, StringData.sizeof + new_capacity, .using = data.allocator);
|
||||
}
|
||||
|
||||
fn usz! DString.read_from_stream(&self, Stream reader)
|
||||
fn usz! DString.read_from_stream(&self, Stream* reader)
|
||||
{
|
||||
if (reader.supports_available())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user