Il giorno mer, 02/03/2011 alle 20.33 +, Graham Whelan ha scritto:
int main (string[] args) {
int a[5] = {1, 2, 3, 4, 5};
return 0;
}
You should use:
int[] a = {1, 2, 3, 4, 5};
Valac doesn't handle the error correctly...
Il giorno gio, 03/03/2011 alle 16.54 +0100, Marco Trevisan (Treviño) ha
scritto:
Il giorno mer, 02/03/2011 alle 20.33 +, Graham Whelan ha scritto:
int main (string[] args) {
int a[5] = {1, 2, 3, 4, 5};
return 0;
}
You should use:
int[] a = {1, 2, 3, 4, 5};
On 3 March 2011 15:57, Marco Trevisan (Treviño) m...@3v1n0.net wrote:
Il giorno gio, 03/03/2011 alle 16.54 +0100, Marco Trevisan (Treviño) ha
scritto:
Il giorno mer, 02/03/2011 alle 20.33 +, Graham Whelan ha scritto:
int main (string[] args) {
int a[5] = {1, 2, 3, 4, 5};
Il giorno gio, 03/03/2011 alle 17.34 +, Graham Whelan ha scritto:
dynamic array syntax:
const int[] a = {1, 2, 3}; /* compiles*/
This is not dynamic at all! It's constant; look at the generated C code!
int[] a = {1, 2, 3}; /* compiles */
fixed-size array syntax:
const a[] = {1,
Hi guys, can't use get_class() method to access Object properties at
runtime, what's wrong here:
public class Test1 : GLib.Object {
public string string_value { get; set; default = yahoo!; }
public int int_value { get; set; default = 123456; }
}
public class TestObjectClass : GLib.Object {
It works when changed the line:
ObjectClass objectClass = t1.get_class();
to:
ObjectClass objectClass = (ObjectClass)t;
On Thu, Mar 3, 2011 at 10:54 PM, Maga Abdurakhmanov maq...@gmail.comwrote:
Hi guys, can't use get_class() method to access Object properties at
runtime, what's wrong
On 3 Mar 2011, at 18:05, Marco Trevisan (Treviño) m...@3v1n0.net wrote:
Il giorno gio, 03/03/2011 alle 17.34 +, Graham Whelan ha scritto:
dynamic array syntax:
const int[] a = {1, 2, 3}; /* compiles*/
This is not dynamic at all! It's constant; look at the generated C code!
Yes, you are
On 2 March 2011 15:10, pancake panc...@youterm.com wrote:
Yes. It is a bug. Please report it :)
Okay created bug #643824.
https://bugzilla.gnome.org/show_bug.cgi?id=643824
___
vala-list mailing list
vala-list@gnome.org