1 2 3 4 5 6 7 8 9
public struct Foo { public unowned Func func; } [CCode (has_target = false)] public delegate int Func (Foo foo); void main () { }