Re: [Vala] Problem with creating bindings involving interfaces
- From: Jürg Billeter <j bitron ch>
- To: Dominique Würtz <housirer gmx de>
- Cc: vala paldo org
- Subject: Re: [Vala] Problem with creating bindings involving interfaces
- Date: Wed, 23 Aug 2006 15:17:45 +0200
Hi Dominique
On Mon, 2006-08-21 at 11:38 +0200, Dominique Würtz wrote:
I'm experimenting with Vala (which looks _very_ promising), trying to
create bindings for GooCanvas. Here is a snippet of my bindings file:
namespace Goo {
public interface CanvasModel {
[NoArrayLength ()]
public Goo.CanvasItem get_root_item ();
}
public class CanvasModelSimple : CanvasModel {
[NoArrayLength ()]
public construct ();
}
}
[...]
test.vala:41.9-41.21: error: The name `get_root_item' does not exist in
the context of `Goo.CanvasModelSimple'
Am I missing something?
That's a bug in the compiler, it didn't support calling non-abstract
interface methods. I've committed a fix to SVN.
Regards,
Jürg
--
Jürg Billeter <j bitron ch>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]