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/tests/native/v2/stale.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 / tests / native / v2 / stale.c` 12 lines ยท 475 bytes Raw Blame History 1 /* The stale-identity check: compares the library's identity string for vec with the one the generated 2 * header carries. Exit 0 when equal, 3 (and the two strings) when the header is from another source. */ 3 #include "omega_native.h" 4 #include 5 #include 6 int main(void) 7 { 8 if (strcmp(omega2_ident_vec(), OMEGA2_IDENT_vec) == 0) 9 return 0; 10 printf("STALE library: %s\nSTALE header: %s\n", omega2_ident_vec(), OMEGA2_IDENT_vec); 11 return 3; 12 }