hop
Hop: a small native macOS launcher. Clipboard history, find, on-device dictation and your coding agent behind one key.
Brought by drakestapleton
hop / Generated / omega_native.h
| 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 <stdint.h> |
| 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 |