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/v1use/use.go # 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 / v1use / use.go` 15 lines ยท 282 bytes Raw Blame History 1 // Links omega_bsum (the v1 symbol) from the v1 package; against the v2 library this must fail to link. 2 package main 3 4 import ( 5 "os" 6 "unsafe" 7 8 om "omegacaller/omeganative" 9 ) 10 11 func main() { 12 var r uint64 13 d := [4]byte{} 14 os.Exit(int(om.Omega_bsum(&r, unsafe.Pointer(&d[0]), 4))) 15 }