Rename procs

This commit is contained in:
gingerBill
2023-06-07 00:12:54 +01:00
parent 2bc5e0ebd7
commit d75df7fd8a
2 changed files with 2 additions and 2 deletions
+15
View File
@@ -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
}