Strip semicolons

This commit is contained in:
gingerBill
2021-10-23 17:10:12 +01:00
parent 2d6c43c260
commit 18ed444a63
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -6,12 +6,12 @@ package runtime
default_allocator_proc :: proc(allocator_data: rawptr, mode: Allocator_Mode, default_allocator_proc :: proc(allocator_data: rawptr, mode: Allocator_Mode,
size, alignment: int, size, alignment: int,
old_memory: rawptr, old_size: int, loc := #caller_location) -> ([]byte, Allocator_Error) { old_memory: rawptr, old_size: int, loc := #caller_location) -> ([]byte, Allocator_Error) {
return nil, .None; return nil, .None
} }
default_allocator :: proc() -> Allocator { default_allocator :: proc() -> Allocator {
return Allocator{ return Allocator{
procedure = default_allocator_proc, procedure = default_allocator_proc,
data = nil, data = nil,
}; }
} }
+1 -1
View File
@@ -3,5 +3,5 @@ package runtime
// TODO(bill): reimplement `os.write` // TODO(bill): reimplement `os.write`
_os_write :: proc "contextless" (data: []byte) -> (int, _OS_Errno) { _os_write :: proc "contextless" (data: []byte) -> (int, _OS_Errno) {
return 0, -1; return 0, -1
} }