Re: [Vala] Interfaces - why do they must have prerequisites?
- From: Jan Hudec <bulb ucw cz>
- To: Aleksander Wabik <alex wabik gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Interfaces - why do they must have prerequisites?
- Date: Sun, 5 Dec 2010 22:08:38 +0100
On Sun, Dec 05, 2010 at 17:32:17 +0100, Aleksander Wabik wrote:
I'm having class Foo, that is _NOT_ inheriting Object, but it's still
a typed class, and it's implementing interface IFoo. This is (or used to
be) legal.
No, it is not and never was legal. Interfaces depend on runtime support
provided by GObject and therefore only classes derived from GLib.Object may
implement interfaces.
--
Jan 'Bulb' Hudec <bulb ucw cz>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]