Re: [Vala] GLib.Object.get_type() static?
- From: Ben <iofelben gmail com>
- To: Daniel Espinosa <esodan gmail com>
- Cc: Vala-list <vala-list gnome org>
- Subject: Re: [Vala] GLib.Object.get_type() static?
- Date: Sun, 24 Jan 2016 02:16:01 -0500
Object.get_type () gets the type of an instance. It doesn't make sense
to make it static.
On Sat, Jan 23, 2016 at 6:59 AM, Daniel Espinosa <esodan gmail com>
wrote:
Why in gobject-2.0.vapi GLib.Object.get_type () is an instant method?
This method should be declared as static, because some times a library
requires to register a type on initialization to aviod errors at
runtime.
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]