Oh yeah, this works. I forgot to instantiate instance = this. :D
Thanks Phil!
On Wed, Oct 20, 2010 at 9:16 AM, Ervin wrote:
> Yes that is what i would do if the PrintInterface permits me to do so since
> the interface says:
>
> public void print_value();
>
> note that the method is not static.
Yes that is what i would do if the PrintInterface permits me to do so since
the interface says:
public void print_value();
note that the method is not static. Thus, calling this method using the
static instance of the class
Check returns an error.
This is how i instantiated statically the class
I have commited an initial work on the alternative syntax for gtkaml.
I have named it 'gtkml' (simple one :P) But im open for suggestions
to change it. The source is found in the gtkaml project inside the
simple/ directory. It is not yet integrated with the gtkaml compiler,
it is just a proof of c
Hi,
في ث، 19-10-2010 عند 15:19 -0500 ، كتب Travis Beaty:
> Hello everyone.
>
> I am working on a little test code to learn Vala. I am getting the
> following warning from compiler:
>
> /home/.../ValaTest.vala.c: In function
> ‘vala_test_vala_test_delete_event_this’:
>
> /hom
Il giorno mar, 19/10/2010 alle 19.44 +0200, Jürg Billeter ha scritto:
> On Tue, 2010-10-19 at 19:32 +0200, Marco Trevisan (Treviño) wrote:
> > I'm trying to use a lambda function as a foreach body for an HashTable:
> >
> > public void print_hashmap(GLib.HashTable map) {
> > //
> > map
Hello everyone.
I am working on a little test code to learn Vala. I am getting the
following warning from compiler:
/home/.../ValaTest.vala.c: In function
‘vala_test_vala_test_delete_event_this’:
/home/.../ValaTest.vala.c:129: warning: format not a string literal and
no format arguments
Here
On Tue, 2010-10-19 at 19:32 +0200, Marco Trevisan (Treviño) wrote:
> I'm trying to use a lambda function as a foreach body for an HashTable:
>
> public void print_hashmap(GLib.HashTable map) {
> //
> map.foreach((k, v) => {
> string key = (string)k;
> V
I'm trying to use a lambda function as a foreach body for an HashTable:
public void print_hashmap(GLib.HashTable map) {
//
map.foreach((k, v) => {
string key = (string)k;
Value val = (Value)v;
print(@"Foreach k: $key => %s\n",val
Vlad Grecescu wrote:
> However, the current choice of XML is based on the fact that XML only
> has namespace support. YAML and JSON need a way to emulate that..
> (g-point-something is an option)
Actually, I'm not suggesting JSON, but a JSON-like syntax. Of course,
this requires a self-written par
On 19 October 2010 03:33, Ervin Orense Balaoro wrote:
> Yes, static variables will solve the problem. :D
>
> Thanks Phil!
>
> But there is a limitation to this approach by making Check implement an
> interface(i.e. PrintInterface),
> where printf_value() is from the interface implemented:
>
> publ
10 matches
Mail list logo