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

This commit is contained in:
gingerBill committed 2024-09-22 13:13:34 +01:00
1 parent 096258b5d5
commit 634fa7aa30
9 files changed
+15

No files matched your search

+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) ---
}