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

26 lines
521 B
Plaintext

/* regular struct */
struct Named1 {
[[Docs for struct Named1. @since 1.66]]
field: int;
}
struct @free(test_free) Named2 {
[[Docs for struct Named2. @since 1.66]]
field: int;
}
/* opaque */
struct Opaque1; [[Docs for Opaque1. @since 1.66]]
struct @free(opaque_free) Opaque2; [[Docs for struct Opaque2. @since 1.66]]
class Free_Func {
[[Docs for class Free_Func. @since 1.66]]
methods {
foo {
params {
idx: int;
}
return: mstring @move;
}
}
}