On Sun, 2009-09-20 at 13:57 +0200, Julian Andres Klode wrote:
> storing a string inside a struct does not work.
>
> If you compile the following Vala code:
> struct Item {
> public string uri;
> }
>
> public static void main() {
> var uri = "http://google.de";;
>
Hi,
storing a string inside a struct does not work.
If you compile the following Vala code:
struct Item {
public string uri;
}
public static void main() {
var uri = "http://google.de";;
Item item = {uri};
stdout.printf("item.uri: %s\n", item.uri);