Remove unused imports

This commit is contained in:
gingerBill
2024-09-22 13:04:23 +01:00
parent 2c5be4e054
commit c39b934e7f
3 changed files with 1 additions and 6 deletions

View File

@@ -1,8 +1,6 @@
#+build js
package os
import "base:runtime"
foreign import "odin_env"
@(require_results)

View File

@@ -90,4 +90,4 @@ window_get_scroll :: proc "contextless" () -> (x, y: f64) {
scroll: [2]f64
_window_get_scroll(&scroll)
return scroll.x, scroll.y
}
}

View File

@@ -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")