efl/src/tests/eolian/data/typedef.eo

42 lines
711 B
Plaintext

type Evas.Coord: int; /* Simple type definition */
type List_Objects: own(list<Eo *>); /* A little more complex */
type Evas.Coord2: Evas.Coord;
type Evas.Coord3: Evas.Coord2;
type @extern Evas.Pants: float; /* not generated */
type Undef: __undefined_type; /* not generated */
type Event: __builtin_event_cb; /* specially generated */
type Free: __builtin_free_cb; /* specially generated */
enum Enum.Bar
{
legacy: bar;
first_item = 0,
second_item,
last_item
}
enum Elm.Object.Select_Mode
{
default = 0,
always,
none,
display_only,
max
}
class Typedef {
methods {
foo {
params {
idx: int;
}
return: own(char*);
}
}
}