aboutsummaryrefslogtreecommitdiff
path: root/vendor/wasm
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-09-22 13:04:23 +0100
committergingerBill <bill@gingerbill.org>2024-09-22 13:04:23 +0100
commitc39b934e7ffabe4b6fe1f044b193682b9a83eda0 (patch)
tree829875fad3260cbe42b95976f7303d2905cbf207 /vendor/wasm
parent2c5be4e054885d382080a6e3ca9f1f3878c72145 (diff)
Remove unused imports
Diffstat (limited to 'vendor/wasm')
-rw-r--r--vendor/wasm/js/dom.odin2
-rw-r--r--vendor/wasm/js/events.odin3
2 files changed, 1 insertions, 4 deletions
diff --git a/vendor/wasm/js/dom.odin b/vendor/wasm/js/dom.odin
index 28dd32fed..ffc58a9a3 100644
--- a/vendor/wasm/js/dom.odin
+++ b/vendor/wasm/js/dom.odin
@@ -90,4 +90,4 @@ window_get_scroll :: proc "contextless" () -> (x, y: f64) {
scroll: [2]f64
_window_get_scroll(&scroll)
return scroll.x, scroll.y
-}
+} \ No newline at end of file
diff --git a/vendor/wasm/js/events.odin b/vendor/wasm/js/events.odin
index 258776fff..5a63da8ef 100644
--- a/vendor/wasm/js/events.odin
+++ b/vendor/wasm/js/events.odin
@@ -336,9 +336,6 @@ remove_custom_event_listener :: proc(id: string, name: string, user_data: rawptr
return _remove_event_listener(id, name, user_data, callback)
}
-import "core:fmt"
-
-
@(export, link_name="odin_dom_do_event_callback")
do_event_callback :: proc(user_data: rawptr, callback: proc(e: Event)) {
@(default_calling_convention="contextless")