aboutsummaryrefslogtreecommitdiff
path: root/core/os/os_js.odin
diff options
context:
space:
mode:
Diffstat (limited to 'core/os/os_js.odin')
-rw-r--r--core/os/os_js.odin15
1 files changed, 2 insertions, 13 deletions
diff --git a/core/os/os_js.odin b/core/os/os_js.odin
index 5d7eb784e..910cb8155 100644
--- a/core/os/os_js.odin
+++ b/core/os/os_js.odin
@@ -1,8 +1,8 @@
//+build js
package os
-import "core:intrinsics"
-import "core:runtime"
+import "base:intrinsics"
+import "base:runtime"
import "core:unicode/utf16"
is_path_separator :: proc(c: byte) -> bool {
@@ -237,17 +237,6 @@ last_write_time_by_name :: proc(name: string) -> (File_Time, Errno) {
}
-
-heap_alloc :: proc(size: int, zero_memory := true) -> rawptr {
- unimplemented("core:os procedure not supported on JS target")
-}
-heap_resize :: proc(ptr: rawptr, new_size: int) -> rawptr {
- unimplemented("core:os procedure not supported on JS target")
-}
-heap_free :: proc(ptr: rawptr) {
- unimplemented("core:os procedure not supported on JS target")
-}
-
get_page_size :: proc() -> int {
unimplemented("core:os procedure not supported on JS target")
}