Move vendor:wasm/js to core:sys/wasm/js

This commit is contained in:
gingerBill
2024-09-22 13:13:34 +01:00
parent 096258b5d5
commit 634fa7aa30
9 changed files with 15 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
#+build js wasm32, js wasm64p32
package wasm_js_interface
foreign import "odin_env"
@(default_calling_convention="contextless")
foreign odin_env {
trap :: proc() -> ! ---
abort :: proc() -> ! ---
alert :: proc(msg: string) ---
evaluate :: proc(str: string) ---
}