Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-bridge/blob/main/evidence/native-bindings/omega_native.zig # omega-bridge Omega-first language interoperability: checked conversion backends and native language bindings Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-bridge / evidence / native-bindings / omega_native.zig` 22 lines ยท 1456 bytes Raw Blame History 1 // Generated by omega-bridge src/native.om: native call ABI v1 (docs/NATIVE-ABI.md). 2 // Declarations for libomega_native (build with -L -lomega_native -lc). Regenerate it; do not edit it. 3 // Status: 0 done; 1..14 the Omega trap code; 32 argument refused (null, wrong length, misaligned, 4 // overlap); 33 reentry; 34 bad runtime entry; 35 no stack. The result is written only on status 0. 5 // A long is its two's-complement bits (@bitCast); an array is its pointer then its element count. 6 pub const OMEGA_OK: u32 = 0; 7 pub const OMEGA_BAD_ARG: u32 = 32; 8 pub const OMEGA_REENTRY: u32 = 33; 9 pub const OMEGA_BAD_RT: u32 = 34; 10 pub const OMEGA_NO_STACK: u32 = 35; 11 // fn madd a ulong b ulong c ulong to ulong 12 pub extern fn omega_madd(result: ?*u64, o_a: u64, o_b: u64, o_c: u64) u32; 13 // fn smadd a long b long c long to long 14 pub extern fn omega_smadd(result: ?*u64, o_a: u64, o_b: u64, o_c: u64) u32; 15 // fn fill buf edit ulong 4 k ulong to ulong 16 pub extern fn omega_fill(result: ?*u64, o_buf: ?[*]u64, o_buf_len: u64, o_k: u64) u32; 17 // fn spin n ulong to ulong 18 pub extern fn omega_spin(result: ?*u64, o_n: u64) u32; 19 // fn mix a ulong b long c view uchar 3 d edit uchar 2 e view ulong 2 f ulong to void 20 pub extern fn omega_mix(result: ?*u64, o_a: u64, o_b: u64, o_c: ?[*]const u8, o_c_len: u64, o_d: ?[*]u8, o_d_len: u64, o_e: ?[*]const u64, o_e_len: u64, o_f: u64) u32; 21 // fn big n ulong to ulong 22 pub extern fn omega_big(result: ?*u64, o_n: u64) u32;