summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-07-18 17:46:02 +0200
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-07-18 17:51:38 +0200
commit68eba4817a631214d7249c3e6ea3a833dfa84cc7 (patch)
tree6c7d63fda731c68b68b15b0897ca15dd1f894dda
parent1c9762d8cae61935ac69303b1b8814cd0a28e2ef (diff)
downloadefl-68eba4817a631214d7249c3e6ea3a833dfa84cc7.tar.gz
eo: clarify what extensions are.
-rw-r--r--src/lib/eo/Eo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/eo/Eo.h b/src/lib/eo/Eo.h
index 03230015bd..5f97d1b46d 100644
--- a/src/lib/eo/Eo.h
+++ b/src/lib/eo/Eo.h
@@ -605,6 +605,10 @@ typedef struct _Efl_Class_Description Efl_Class_Description;
* @param ... A NULL terminated list of extensions (interfaces, mixins and the classes of any composite objects).
* @return The new class's handle on success, or NULL otherwise.
*
+ * @note There are two types of extensions, mixins and none-mixins.
+ * Mixins are inheriting api AND the implementation.
+ * Non-mixins only inherit the api, so a class which inherits a non-mixin as extension must implement the api.
+ *
* You should use #EFL_DEFINE_CLASS. It'll provide thread safety and other
* features easily.
*