Re: [Vala] Problems with virtual extern methods.
- From: Jürg Billeter <j bitron ch>
- To: Yu Feng <rainwoodman gmail com>
- Cc: vala-list <vala-list gnome org>
- Subject: Re: [Vala] Problems with virtual extern methods.
- Date: Mon, 01 Jun 2009 12:15:25 +0200
On Mon, 2009-06-01 at 05:23 -0400, Yu Feng wrote:
Think about implementing the GtkBuildable interface(the interface
itself) with VALA.
If the interface definition is written in VALA to take the advantages of
Vala, several of the accessor functions have to be supplied in C because
they selectively chain down to derived implementations based on whether
the instance is a GtkBuildable or not. Manually looking up the vtable is
too much for VALA.
Can you point me to the code where GtkBuildable functions accept
instances not implementing GtkBuildable? From a quick glance at the
code, all the virtual method wrappers appear to contain
g_return_if_fail (GTK_IS_BUILDABLE (buildable));
Jürg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]