fixed interface

This commit is contained in:
Milo Gilad 2017-08-26 08:57:34 -04:00
parent b86786023c
commit 14c3fc4ffe

View File

@ -255,8 +255,9 @@ class Message : GLib.Object { // Class Message extends GLib's Object
}
interface InterfaceDemo { // Can be used as a mixin
// ...
interface Laptop { // May only contain abstract methods
public abstract void turn_on();
public abstract void turn_off();
}
// Since method overloading isn't possible, you can use named constructors