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

Re: [Vala] embedding c code snippet in vala source.



Thanks.

but cexpression is too long for typing.. Perhaps a reasonable name for a
uncommon usage though.

I had to make several changes over the entire vala. Perhaps I should
separate them into small ones. 

yu


On Fri, 2008-08-22 at 08:18 +0100, Sam Liddicott wrote:
> Surely it's OK for VAPI files whose purpose is to integrate with C anyway; and certainly preferable to having to ship an extra vapi .h file with inline function or macro definitions...
> 
> I think its great.
> 
> I prefer the name cexpression to snippet, I use such things in my compac class virtual method enhancement, the expression use used by vala to locate the virtual method table for acompact class or object.
> 
> Sam
> 
> -----Original Message-----
> From: Emmanuele Bassi <ebassi gmail com>
> Sent: Thursday, August 21, 2008 11:18 PM
> To: vala-list gnome org
> Subject: Re: [Vala] embedding c code snippet in vala source.
> 
> On Thu, 2008-08-21 at 14:27 -0400, Yu Feng wrote:
> > Dear all,
> > 
> > I made a patch that allows embedding c code snippet in vala source.
> > 
> > http://bugzilla.gnome.org/show_bug.cgi?id=548897
> > 
> > This is quite primitive and more has to be done, especially to translate
> > the vala variable names to cnames.
> 
> no, please: let's not turn Vala into the new GOB. this makes the code an
> unbearable mess - been there, done that.
> 
> ciao,
>  Emmanuele.
> 



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