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/issue-20-const-length/call.c # 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 / issue-20-const-length / call.c` 6 lines ยท 374 bytes Raw Blame History 1 #include 2 #include 3 #include "omega_native.h" 4 int main(void){uint64_t b[4]={1,2,3,4},r=0;uint32_t s=omega_f(&r,b,4,10); 5 int ok=s==0&&r==14&&b[0]==11&&b[3]==14;uint64_t r2=0;uint32_t s2=omega_f(&r2,b,3,10); 6 ok=ok&&s2!=0;printf("%s status=%u result=%lu buf0=%lu wronglen_status=%u\n",ok?"PASS":"FAIL",s,(unsigned long)r,(unsigned long)b[0],s2);return !ok;}