mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-31 20:00:09 +00:00
Rename procs
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
//+build js
|
||||
package runtime
|
||||
|
||||
init_default_context_for_js: Context
|
||||
@(init, private="file")
|
||||
init_default_context :: proc() {
|
||||
init_default_context_for_js = context
|
||||
}
|
||||
|
||||
@(export)
|
||||
@(link_name="default_context_ptr")
|
||||
default_context_ptr :: proc "contextless" () -> ^Context {
|
||||
return &init_default_context_for_js
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user