[Vala] Implementing interface methods



Hi,

here is another thing I did not get to work: Implementing a method of an interface.

public interface MyInterface {
   public void foo ();
}

public class MyClass : MyInterface {
   public void foo () {
   }
}

Compiling works, however the _interface_init() function stays empty.

Regards,

Dominique




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