"protocol" => "interface"

This commit is contained in:
Christoffer Lerno
2023-10-20 12:42:36 +02:00
committed by Christoffer Lerno
parent e380075852
commit d01d8d3663
48 changed files with 322 additions and 325 deletions

View File

@@ -3,7 +3,7 @@ module std::core::mem::allocator;
const DEFAULT_SIZE_PREFIX = usz.sizeof;
const DEFAULT_SIZE_PREFIX_ALIGNMENT = usz.alignof;
protocol Allocator
interface Allocator
{
fn void reset(usz mark) @optional;
fn usz mark() @optional;