[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [Vala] embedding c code snippet in vala source.
- From: Jürg Billeter <j bitron ch>
- To: Yu Feng <rainwoodman gmail com>
- Cc: vala-list <vala-list gnome org>
- Subject: Re: [Vala] embedding c code snippet in vala source.
- Date: Fri, 22 Aug 2008 11:54:27 +0200
On Fri, 2008-08-22 at 05:24 -0400, Yu Feng wrote:
> On Fri, 2008-08-22 at 11:04 +0200, Jürg Billeter wrote:
> > > Another direction of this patch is to allow small wrapping code in
> > > the .vapi declarations (which might ease the vapi authors's life)
> >
> > This is the only place where I might consider it useful. However, so far
> > I'm not convinced that it really helps, see my other response.
> >
> intended for binding (again, using some asm wrap a call to int13) and I
> began with .vala files because I thought they were easier to do
> experiment with.
>
> Perhaps the binding authors can find more examples? in Samba and GST
> bindings? If we put it to upstream people will eventually find use
> cases. It should be rare.
>
> To pull the vala GList wrappers out I need to patch the <generic>
> (valagenis?) to allow overriding with respect of generic. The patch is
> already large and it is not wise to make it larger before positive
> responses.
>
> How much can this vapi-only patch hurt vala in a long run?
The patch is already getting quite big, and it seems that you've added a
partial C parser in there. Before I'm considering maintaining this, I'd
need a strong use case, so far I haven't seen one that would justify it.
Jürg
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]