Re: [Vala] Variable sized structs and vapi files



On Wed, Sep 16, 2009 at 00:14:23 +0200, Jan-Jaap van der Geer wrote:
On Tue, 2009-09-15 at 22:50 +0200, Jan Hudec wrote:
On Tue, Sep 15, 2009 at 20:33:03 +0200, Jan-Jaap van der Geer wrote:
On Tue, 2009-09-15 at 09:06 +0200, Jan Hudec wrote:
Very scarce. Look through the wiki, but mostly you will have to
look how similar things are done in the existing .vapi files.

Stupid question: What wiki are you talking about? I know about this
page, of course: http://live.gnome.org/Vala It looks somewhat wiki-ish,
but I'm not sure you're referring to that... Google didn't help me much.

Yes, that one.

[...]
If you know at least the standard POSIX API, you can focus on the posix.vapi.
It does not use anything of glib.  It is actually possible to use vala
without glib altogether (using --profile=POSIX parameter), though many
features are not available than.

Not even that is familiar at this point :-| But the --profile=POSIX
intrigues me. What kind of things would not be available using this
POSIX profile?

Well, mainly all the features only available to GLib.Object, which are:
 - signals (delegates should still work, though, so you can still define
   hooks manually)
 - properties (those with get/set -- plain fields of course work)
 - interfaces
Than some other things depend of glib/gobject infrastructure, which are:
 - exceptions
 - the new async stuff
 - dbus binding

There is a plan for new support runtime called dova, that should provide most
of the features while being lighter than glib, but I don't think any
timeframe for it was announced.

-- 
                                                 Jan 'Bulb' Hudec <bulb ucw cz>



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