These two patches are needed to make .gir with async methods usable. The first causes async methods to be generated as pair of begin and end method and the second fixes generation of callback arguments. It also fixes generation of array parameters with length.
Without these two patches, attempt to invoke async methods via gobject-introspection causes a crash, because the async method gets called without the necessary callback. No attempt was made to fix array and callback properties and fields. All existing test cases pass and the .gir looks sane and is accepted by g-ir-compiler. No new test cases are included. Jan Hudec (2): Fix .gir generation for async methods. Fix generation of array and delegate parameters to .gir. codegen/valagirwriter.vala | 160 +++++++++++++++++++++++--------------------- 1 files changed, 85 insertions(+), 75 deletions(-) _______________________________________________ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list