mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
Switch to <* *> docs. Fix issue with dynamically loaded C3 libs with other C3 code.
This commit is contained in:
committed by
Christoffer Lerno
parent
9f6a4eb300
commit
31cd839063
@@ -6,10 +6,10 @@ struct LimitReader (InStream)
|
||||
usz limit;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param [&inout] wrapped_stream "The stream to read from"
|
||||
* @param limit "The max limit to read"
|
||||
**/
|
||||
<*
|
||||
@param [&inout] wrapped_stream "The stream to read from"
|
||||
@param limit "The max limit to read"
|
||||
*>
|
||||
fn LimitReader* LimitReader.init(&self, InStream wrapped_stream, usz limit)
|
||||
{
|
||||
*self = { .wrapped_stream = wrapped_stream, .limit = limit };
|
||||
|
||||
Reference in New Issue
Block a user