30 lines
530 B
Plaintext
30 lines
530 B
Plaintext
/* regular type */
|
|
type Foo: int; [[Docs for typedef Foo. @since 1.66]]
|
|
|
|
/* extern type */
|
|
type @extern Evas.Coord: int; [[Docs for typedef Evas.Coord. @since 1.66]]
|
|
|
|
/* regular struct */
|
|
struct X {
|
|
[[Docs for struct X. @since 1.66]]
|
|
field: int;
|
|
}
|
|
|
|
/* extern struct */
|
|
struct @extern Y {
|
|
[[Docs for struct Y. @since 1.66]]
|
|
field: int;
|
|
}
|
|
|
|
class Extern {
|
|
[[Docs for class Extern. @since 1.66]]
|
|
methods {
|
|
foo {
|
|
params {
|
|
idx: int;
|
|
}
|
|
return: mstring @move;
|
|
}
|
|
}
|
|
}
|