forked from enlightenment/efl
31 lines
448 B
Plaintext
31 lines
448 B
Plaintext
struct Named {
|
|
field: int @by_ref;
|
|
something: string;
|
|
}
|
|
|
|
struct Another {
|
|
field: Named;
|
|
}
|
|
|
|
/* opaque struct */
|
|
struct Opaque;
|
|
|
|
struct @extern Not.Generated {
|
|
field: int;
|
|
}
|
|
|
|
class Struct {
|
|
methods {
|
|
foo {
|
|
[[Foo docs. This is $monospace. This is alone-standing $.]]
|
|
params {
|
|
idx: int;
|
|
}
|
|
return: mstring @move;
|
|
}
|
|
bar {
|
|
return: Named @by_ref;
|
|
}
|
|
}
|
|
}
|