Merge pull request #2978 from thetarnav/patch-2

Many small typos and fixes to wasm bindings
This commit is contained in:
gingerBill
2024-01-31 21:02:03 +00:00
committed by GitHub
4 changed files with 32 additions and 30 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ page_allocator :: proc() -> mem.Allocator {
case .Alloc, .Alloc_Non_Zeroed:
assert(size % PAGE_SIZE == 0)
return page_alloc(size/PAGE_SIZE)
case .Resize, .Free, .Free_All, .Query_Info:
case .Resize, .Free, .Free_All, .Query_Info, .Resize_Non_Zeroed:
return nil, .Mode_Not_Implemented
case .Query_Features:
set := (^mem.Allocator_Mode_Set)(old_memory)