mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-08 14:03:14 +00:00
Add bridge_log
This commit is contained in:
@@ -217,6 +217,17 @@ log_level :: enum c.int {
|
||||
|
||||
@(default_calling_convention="c", link_prefix="oc_")
|
||||
foreign {
|
||||
bridge_log :: proc(
|
||||
level: log_level,
|
||||
functionLen: i32,
|
||||
function: cstring,
|
||||
fileLen: i32,
|
||||
file: cstring,
|
||||
line: i32,
|
||||
msgLen: i32,
|
||||
msg: [^]byte,
|
||||
) ---
|
||||
|
||||
log_ext :: proc(
|
||||
level: log_level,
|
||||
function: cstring,
|
||||
|
||||
Reference in New Issue
Block a user