changed projects structure
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package js_console
|
||||
|
||||
foreign import "console_api"
|
||||
|
||||
@(default_calling_convention="contextless")
|
||||
foreign console_api {
|
||||
// you can pass values to the JS side too.
|
||||
trace :: proc(str: string) ---
|
||||
debug :: proc(str: string) ---
|
||||
info :: proc(str: string) ---
|
||||
warn :: proc(str: string) ---
|
||||
error :: proc(str: string) ---
|
||||
}
|
||||
Reference in New Issue
Block a user