mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fix tabs in readme.
This commit is contained in:
@@ -55,7 +55,7 @@ fn void Stack.push(Stack* this, Type element)
|
|||||||
if (this.capacity == this.size)
|
if (this.capacity == this.size)
|
||||||
{
|
{
|
||||||
this.capacity *= 2;
|
this.capacity *= 2;
|
||||||
if (this.capacity < 16) this.capacity = 16;
|
if (this.capacity < 16) this.capacity = 16;
|
||||||
this.elems = realloc(this.elems, Type.sizeof * this.capacity);
|
this.elems = realloc(this.elems, Type.sizeof * this.capacity);
|
||||||
}
|
}
|
||||||
this.elems[this.size++] = element;
|
this.elems[this.size++] = element;
|
||||||
|
|||||||
Reference in New Issue
Block a user