diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-07-02 10:56:36 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-07-02 10:56:36 +0100 |
| commit | 7ecc00c036ae9380bafa80060dc35756195e9c1a (patch) | |
| tree | 9b4b911cc1df68b4a02de8a8e108a2760215eeac /examples/07-imports/src/line.hob | |
| parent | 0568d7e77dbe004864e19a75a2216e233fbfad2b (diff) | |
Split native type example to example with/without custom config
Diffstat (limited to 'examples/07-imports/src/line.hob')
| -rw-r--r-- | examples/07-imports/src/line.hob | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/07-imports/src/line.hob b/examples/07-imports/src/line.hob new file mode 100644 index 0000000..562d77f --- /dev/null +++ b/examples/07-imports/src/line.hob @@ -0,0 +1,7 @@ +import {Point} from ./point; + +/// A straight line from one point to another. +struct Line { + field start: Point; + field end: Point; +} |
