mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 22:58:46 +00:00
Change push allocator system; update core libraries
This commit is contained in:
+1
-1
@@ -61,7 +61,7 @@ accept_sizes := [256]u8{
|
||||
encode_rune :: proc(r: rune) -> ([4]u8, int) {
|
||||
buf: [4]u8;
|
||||
i := u32(r);
|
||||
mask: u8 : 0x3f;
|
||||
mask :: u8(0x3f);
|
||||
if i <= 1<<7-1 {
|
||||
buf[0] = u8(r);
|
||||
return buf, 1;
|
||||
|
||||
Reference in New Issue
Block a user