summaryrefslogtreecommitdiff
path: root/src/tests/eolian/data/complex_type.eo
blob: 4c379703b3d7f7291bb0aac6a386ffa384bb0f89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
struct @extern Eo;

class Complex_Type {
   methods {
      @property a {
         set {
            return: list<array<ptr(Eo) @owned> > @owned;
         }
         get {
         }
         values {
            value: list<int> @owned;
         }
      }
      foo {
         params {
            buf: mstring @owned;
         }
         return: list<stringshare> @owned; [[comment for method return]]
      }
   }
}