Replying to myself :)
On 12/11/2011 10:32 PM, Antono Vasiljev wrote:
foreach (var e in hash.entries) {
// THIS IS PSEUDOCODE
if (e.value.type == typeof(int)) {
counter += e.value;
}
}
if (e.value.holds(typeof(string)))
http://www.valadoc.org/gobject-2.0/GLib.Value.html
_
Hello All.
I trying to work with collections of (G)Values
and faced a problem. Sometimes i need to get type
of object in referenced by Value.
--
using Gee;
Value v = "hello";
var hash = new HashMap();
hash["one"] = 1;
hash["two"] = "two";
int count
Hi,
I'm new to vala development and trying to setup Nemiver to debug my vala
programs. I'm using monodevelop to edit and build the clutter-demo example
from the vala web page. I am passing the compiler the --pkg clutter-1.0 -g
--save-temps options. I have the clutter-debuginfo package installed (I
On 12/11/2011 07:02 PM, Denis Kuzmenok wrote:
Think of looking for modify date of templates and save them to
exclude repeated template parsing. That would speed up template work
for a little bit :)
As for me template file should be accessed only during template engine
initialization
Hello, all.
I've updated lua.vapi to use luajit headers[1]. Maybe this vapi
should also be available as luajit.vapi from vala distribution (or
somehow autogenerated from lua.vapi).
LuaJIT intented as (faster) drop-in replacement for Lua.
[1]: https://github.com/antono/valum/blob/master/vapi/
Hello, All.
I've just pushed first templating engine for Valum[0] based on
ctpl.vapi provided by Matias De la Puente. Meanwhile Colomban Wendling
started work on native GObject introspection support in ctpl[1].
As we discussed Valum will be able to support multiple rendering engines
at the same
2011/12/11 Tal Hadad
> > Yes it does. What C programmers often do is adding unused vfuncs as
> padding for future extension of the class. From this perspective Vala could
> theoretically add some kind of padding to avoid abi breakage.
> So what about this idea for fix it:
> Create a new attribut
> Yes it does. What C programmers often do is adding unused vfuncs as
padding for future extension of the class. From this perspective Vala
could theoretically add some kind of padding to avoid abi breakage.
So what about this idea for fix it:
Create a new attribute property in [CCode], named bi
2011/12/11 Tal Hadad
>
> I've read how GObject define virtual methods, in the XClass struct, and
> I'm afraid defining new virtual method can break ABI. Am I right?
> Before:
> struct _XClass
> {
> GObjectClass parent_class;
>
> /* stuff */
> void (*do_action) (X *self, /* parameters */);
> };
>
I've read how GObject define virtual methods, in the XClass struct, and
I'm afraid defining new virtual method can break ABI. Am I right?
Before:
struct _XClass
{
GObjectClass parent_class;
/* stuff */
void (*do_action) (X *self, /* parameters */);
};
After:
struct _XClass
{
GObjectClass parent
10 matches
Mail list logo