Add bridge_log

This commit is contained in:
gingerBill
2024-03-18 22:13:00 +00:00
parent 08bd7a6018
commit 1f2d2b0289

View File

@@ -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,