Re: [Vala] Building problem



Hello,

I didn't realize you could use a class name for a 'using className'
statement.

On Mon, Aug 16, 2010 at 7:01 AM, aecostas gmail com <aecostas gmail com>wrote:

But, the weirdest thing is that it compiles fine after removing the
ArrayList field.

using Gee;

class Foo : GLib.Object {
   struct Sub {
       public long initime;
       public int duration;
       //  public ArrayList<string> text;


   }


long and int don't need any special code for destruction, but ArrayList
does.  I would guess that is the difference.

Rob


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]