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

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