[Vala] GLib.Object.get_type() static?
- From: Daniel Espinosa <esodan gmail com>
- To: Vala-list <vala-list gnome org>
- Subject: [Vala] GLib.Object.get_type() static?
- Date: Sat, 23 Jan 2016 05:59:48 -0600
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]