mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Remove unused imports
This commit is contained in:
@@ -1,8 +1,6 @@
|
|||||||
#+build js
|
#+build js
|
||||||
package os
|
package os
|
||||||
|
|
||||||
import "base:runtime"
|
|
||||||
|
|
||||||
foreign import "odin_env"
|
foreign import "odin_env"
|
||||||
|
|
||||||
@(require_results)
|
@(require_results)
|
||||||
|
|||||||
Vendored
+1
-1
@@ -90,4 +90,4 @@ window_get_scroll :: proc "contextless" () -> (x, y: f64) {
|
|||||||
scroll: [2]f64
|
scroll: [2]f64
|
||||||
_window_get_scroll(&scroll)
|
_window_get_scroll(&scroll)
|
||||||
return scroll.x, scroll.y
|
return scroll.x, scroll.y
|
||||||
}
|
}
|
||||||
Vendored
-3
@@ -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)
|
return _remove_event_listener(id, name, user_data, callback)
|
||||||
}
|
}
|
||||||
|
|
||||||
import "core:fmt"
|
|
||||||
|
|
||||||
|
|
||||||
@(export, link_name="odin_dom_do_event_callback")
|
@(export, link_name="odin_dom_do_event_callback")
|
||||||
do_event_callback :: proc(user_data: rawptr, callback: proc(e: Event)) {
|
do_event_callback :: proc(user_data: rawptr, callback: proc(e: Event)) {
|
||||||
@(default_calling_convention="contextless")
|
@(default_calling_convention="contextless")
|
||||||
|
|||||||
Reference in New Issue
Block a user