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-mcp/blob/main/data/examples/structs.om # omega-mcp aien-dev/omega-mcp 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-mcp / data / examples / structs.om` 9 lines ยท 229 bytes Raw Blame History 1 note a struct on the stack, field get and put, sizeof and offsetof 2 struct Pt x long y long end 3 fn main to int 4 p = new Pt 3 4 5 put p x add get p x 10 6 s = add get p x get p y 7 z = add sizeof Pt offsetof Pt y 8 ret int add s long z 9 end