Re: [Vala] True vala introspection



Its not a matter of which language implements the interface but which language consumes the interface.

The interface may still be implemented in C but vala code will be writen to call upon the interface.

Sam

-----Original Message-----
From: Michael Lawrence <mflawren fhcrc org>
Sent: 28 June 2008 17:33
To: Sam Liddicott <sam liddicott com>
Cc: vala-list gnome org
Subject: Re: [Vala] True vala introspection

I see. This brings an interesting point -- the current form of gir does not seem to have any way to indicate the language that implements the interface. Right now of course it is assumed to be C. It would probably work for Vala, but e.g. a code generator would not know that it needs to target Vala rather than C or something else. There are other considerations for cross-language support, like supporting dynamically-typed languages by making any type specifications optional.
 


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