Skip to content

Commit 7ed1f99

Browse files
committed
[breaking] EmmalocAllocator -> EmmallocAllocator
1 parent abd8433 commit 7ed1f99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/zemscripten.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,13 @@ pub fn getElementCssSize(
8181
}
8282
extern fn emscripten_get_element_css_size([*:0]const u8, *f64, *f64) c_int;
8383

84-
// EmmalocAllocator allocator
84+
// EmmallocAllocator allocator
8585
// use with linker flag -sMALLOC=emmalloc
8686
// for details see docs: https://github.com/emscripten-core/emscripten/blob/main/system/lib/emmalloc.c
8787
extern fn emmalloc_memalign(u32, u32) ?*anyopaque;
8888
extern fn emmalloc_realloc_try(?*anyopaque, u32) ?*anyopaque;
8989
extern fn emmalloc_free(?*anyopaque) void;
90-
pub const EmmalocAllocator = struct {
90+
pub const EmmallocAllocator = struct {
9191
const Self = @This();
9292
dummy: u32 = undefined,
9393

0 commit comments

Comments
 (0)