Re: [Vala] Foreach on interfaces




Thanks for the feedback, that has fixed the problem.

Matt

-----Original Message-----
From: Jürg Billeter [mailto:j bitron ch]
Sent: Fri 11/21/2008 10:10 AM
To: Spencer, Matthew
Cc: vala-list gnome org
Subject: Re: [Vala] Foreach on interfaces
 
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



*********************************************************************************************************
This e-mail is confidential, the property of NDS Ltd and intended for the addressee only.  Any dissemination, 
copying or distribution of this message or any attachments by anyone other than the intended recipient is 
strictly prohibited.  If you have received this message in error, please immediately notify the postmaster 
nds com and destroy the original message.  Messages sent to and from NDS may be monitored.  NDS cannot 
guarantee any message delivery method is secure or error-free.  Information could be intercepted, corrupted, 
lost, destroyed, arrive late or incomplete, or contain viruses.  We do not accept responsibility for any 
errors or omissions in this message and/or attachment that arise as a result of transmission.  You should 
carry out your own virus checks before opening any attachment.  Any views or opinions presented are solely 
those of the author and do not necessarily represent those of NDS.

To protect the environment please do not print this e-mail unless necessary.

NDS Limited Registered office: One Heathrow Boulevard, 286 Bath Road, West Drayton, Middlesex, UB7 0DQ, 
United Kingdom. A company registered in England and Wales  Registered no. 3080780   VAT no. GB 603 8808 40-00
**********************************************************************************************************




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