Re: [Vala] Foreach on interfaces
- From: Jürg Billeter <j bitron ch>
- To: "Spencer, Matthew" <MSpencer nds com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Foreach on interfaces
- Date: Fri, 21 Nov 2008 11:10:29 +0100
Hi Matt,
On Fri, 2008-11-21 at 09:48 +0000, Spencer, Matthew wrote:
But I get errors:
error: missing class prerequisite for interface 'InterfaceA'
on the lines marked with 1 and 2.
Interfaces need to have a class as prerequisite to be usable as a
variable - we miss memory management information otherwise.
public interface InterfaceA : Object {
public abstract void function();
}
Jürg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]