diff options
| author | gingerBill <bill@gingerbill.org> | 2024-03-18 22:13:00 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-03-18 22:13:00 +0000 |
| commit | 1f2d2b0289691e8b99ad7c33fc5aaec0802eeb69 (patch) | |
| tree | 38ce515f5807daf2bf70181721bc69bfafd771b7 | |
| parent | 08bd7a60181e6d1aeec5d8c418400984e0b3b5a5 (diff) | |
Add `bridge_log`
| -rw-r--r-- | core/sys/orca/util.odin | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/core/sys/orca/util.odin b/core/sys/orca/util.odin index 7d1929748..f818e2c2f 100644 --- a/core/sys/orca/util.odin +++ b/core/sys/orca/util.odin @@ -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, |