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/hop/blob/main/Generated/omega_native.h # hop Hop: a small native macOS launcher. Clipboard history, find, on-device dictation and your coding agent behind one key. Brought by drakestapleton Sign in to star 1 stars 1 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `hop / Generated / omega_native.h` 25 lines ยท 1142 bytes Raw Blame History 1 /* Generated by omega-bridge src/native.om: native call ABI v1 (docs/NATIVE-ABI.md). 2 * C and C++ declarations for libomega_native. 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; an array is its address then its element count. 6 * Parameter names carry o_ so no language's reserved words collide. */ 7 #ifndef OMEGA_NATIVE_H 8 #define OMEGA_NATIVE_H 9 #include 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 13 #define OMEGA_OK 0u 14 #define OMEGA_BAD_ARG 32u 15 #define OMEGA_REENTRY 33u 16 #define OMEGA_BAD_RT 34u 17 #define OMEGA_NO_STACK 35u 18 /* fn hopfact inp view ulong 256 res edit ulong 256 to ulong */ 19 uint32_t omega_hopfact(uint64_t *result, const void *o_inp, uint64_t o_inp_len, void *o_res, uint64_t o_res_len); 20 /* fn hopfuse inp view ulong 256 res edit ulong 256 to ulong */ 21 uint32_t omega_hopfuse(uint64_t *result, const void *o_inp, uint64_t o_inp_len, void *o_res, uint64_t o_res_len); 22 #ifdef __cplusplus 23 } 24 #endif 25 #endif