Eo: Add an interface for other interfaces to inherit from.

This commit is contained in:
Tom Hacohen 2016-02-29 11:56:17 +00:00
parent f3d978e04c
commit a761171009
2 changed files with 9 additions and 1 deletions

View File

@ -3,7 +3,8 @@
eo_eolian_files = \
lib/eo/eo_base.eo \
lib/eo/eo_abstract_class.eo
lib/eo/eo_abstract_class.eo \
lib/eo/eo_interface.eo
eo_eolian_c = $(eo_eolian_files:%.eo=%.eo.c)
eo_eolian_h = $(eo_eolian_files:%.eo=%.eo.h)

View File

@ -0,0 +1,7 @@
interface Eo.Interface ()
{
[[An interface for other interfaces to inherit from.
This is useful when you want to create interfaces and mixins that expose
functions from a normal class, like for example @Eo.Base.constructor.]]
}