summaryrefslogtreecommitdiff
path: root/src/tests/eolian/data/extern.eo
blob: d59caa21cdeefc160e19de1f40f61f2ae5472bd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* regular type */
type Foo: int;

/* extern type */
type @extern Evas.Coord: int;

/* regular struct */
struct X
{
   field: int;
}

/* extern struct */
struct @extern Y
{
   field: int;
}

class Extern {
   methods {
      foo {
         params {
            idx: int;
         }
         return: string @owned;
      }
   }
}