Re: [Vala] Building problem
- From: Andrea Del Signore <sejerpz tin it>
- To: "aecostas gmail com" <aecostas gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Building problem
- Date: Wed, 11 Aug 2010 15:19:30 +0200
On Wed, 2010-08-11 at 00:35 +0200, aecostas gmail com wrote:
/* Foo */
using Gee;
class Foo : GLib.Object {
struct Sub {
public long initime;
public int duration;
public ArrayList<string> text;
}
}
Hi,
your problem is with the class Foo if you should define it to be public:
/* Foo */
using Gee;
public class Foo : GLib.Object {
public struct Sub {
public long initime;
public int duration;
public ArrayList<string> text;
}
}
What I don't know is why vala doesn't report an error when compiling
your example code since you are accessing a private structure.
Is just a vala compiler bug or the default scope of classes and structs
*is not* private when not specified?
Regards,
Andrea
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]