Re: [Vala] RAII support in VALA¿??¿?






There should be an interface in GLib like IClosable or IDisposable which
could be implemented for classes not only in GIO, but also in GNIO or
any other GObject library that provides access to resources, for example
to a database. Then Vala could take advantage of this interface.
Yes. I use this in a C bindings in C# to free resources.


Regards,

Frederik
_______________________________________________
Vala-list mailing list
Vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]