Implement more @export / @private improvements. Make @private default… (#729)

This commit is contained in:
Christoffer Lerno
2023-02-13 08:31:40 +01:00
committed by GitHub
parent 3b49b87784
commit 5e457be605
88 changed files with 697 additions and 624 deletions

View File

@@ -98,7 +98,7 @@ fn void Allocator.reset(Allocator* allocator, usz mark = 0)
allocator.function(allocator, mark, 0, 0, null, RESET)!!;
}
private fn usz alignment_for_allocation(usz alignment) @inline
fn usz alignment_for_allocation(usz alignment) @inline @private
{
if (alignment < DEFAULT_MEM_ALIGNMENT)
{