Move vendor:wasm/js to core:sys/wasm/js
This commit is contained in:
1 parent
096258b5d5
commit
634fa7aa30
9 files changed
+15
No files matched your search
@@ -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) ---
|
||||
}
|
||||
Reference in new issue
Block a user