Re: [Vala] Tryout adding simple support for extension methods to valac




On Mon, Oct 14, 2013 at 12:57 PM, Luca Bruno <lethalman88 gmail com> wrote:
Generics are private and can't be accessed from the extern.

I'm not sure what this means. Do you mean that the generic type is private and can't be accessed?

What I'd like to know is if something like this would work:

extend class Gee.ArrayList<G> {
 public G get_center_item() {}
}

If not, that's unfortunate.

-- Jim


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