Re: [Vala] [PATCH] Belongs_to and is_instance for vapigen
- From: Evan Nemerson <evan coeus-group com>
- To: tecywiz121 <tecywiz121 hotmail com>
- Cc: vala-devel-list gnome org
- Subject: Re: [Vala] [PATCH] Belongs_to and is_instance for vapigen
- Date: Tue, 28 Sep 2010 10:15:23 -0700
On Mon, 2010-09-27 at 17:34 -0400, tecywiz121 wrote:
> Hello vala developers!
>
> I updated my old patch adding belongs_to and is_instance options to
> vapigen, and I was wondering if I could get them included in vapigen.
> They are quite useful in wrapping not-entirely-glib libraries.
How is belongs_to different from parent?
If I remember correctly, reparenting a method will make it an instance
method if the first argument is of the correct type. Assuming that is
the case (and if it isn't we should probably make it so), do you still
have a use case for is_instance?
-Evan
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]