tasn pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=1506ec30bad626acd6630d7116f5fa6d826698b5
commit 1506ec30bad626acd6630d7116f5fa6d826698b5 Author: Tom Hacohen <[email protected]> Date: Fri May 1 12:57:40 2015 +0100 Eo base: mark composite API as not ready. --- src/lib/eo/eo.c | 2 ++ src/lib/eo/eo_base.eo | 6 +++--- src/lib/eo/eo_base_class.c | 2 ++ src/lib/eo/eo_private.h | 2 ++ src/lib/eo/eo_ptr_indirection.h | 2 ++ 5 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c index 166e638..b81d1de 100644 --- a/src/lib/eo/eo.c +++ b/src/lib/eo/eo.c @@ -8,6 +8,8 @@ #include <Eina.h> +#define EO_BASE_PROTECTED + #include "Eo.h" #include "eo_ptr_indirection.h" #include "eo_private.h" diff --git a/src/lib/eo/eo_base.eo b/src/lib/eo/eo_base.eo index 99161d8..2098c4a 100644 --- a/src/lib/eo/eo_base.eo +++ b/src/lib/eo/eo_base.eo @@ -173,7 +173,7 @@ callbacks of the same priority are called in reverse order of creation. */ /*@ Get an iterator on all childrens */ return: free(own(iterator<Eo *> *), eina_iterator_free) @warn_unused; } - composite_attach { + composite_attach @protected { /* XXX: Still BETA! */ /** * @brief Make an object a composite object of another. * @@ -190,7 +190,7 @@ callbacks of the same priority are called in reverse order of creation. */ } return: bool; /*@ EINA_TRUE if successfull. EINA_FALSE otherwise. */ } - composite_detach { + composite_detach @protected { /* XXX: Still BETA! */ /** * @brief Detach a composite object from another object. * @@ -205,7 +205,7 @@ callbacks of the same priority are called in reverse order of creation. */ } return: bool; /*@ EINA_TRUE if successfull. EINA_FALSE otherwise. */ } - composite_part_is { + composite_part_is @protected { /* XXX: Still BETA! */ /** * @brief Check if an object is part of a composite object. * diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c index d088d76..67d52ba 100644 --- a/src/lib/eo/eo_base_class.c +++ b/src/lib/eo/eo_base_class.c @@ -4,6 +4,8 @@ #include <Eina.h> +#define EO_BASE_PROTECTED + #include "Eo.h" #include "eo_ptr_indirection.h" #include "eo_private.h" diff --git a/src/lib/eo/eo_private.h b/src/lib/eo/eo_private.h index a238618..f8c76d4 100644 --- a/src/lib/eo/eo_private.h +++ b/src/lib/eo/eo_private.h @@ -1,6 +1,8 @@ #ifndef _EO_PRIVATE_H #define _EO_PRIVATE_H +#define EO_BASE_PROTECTED + #include <Eo.h> #include <Eina.h> diff --git a/src/lib/eo/eo_ptr_indirection.h b/src/lib/eo/eo_ptr_indirection.h index c801e47..4108379 100644 --- a/src/lib/eo/eo_ptr_indirection.h +++ b/src/lib/eo/eo_ptr_indirection.h @@ -1,6 +1,8 @@ #ifndef EO_PTR_INDIRECTION_H #define EO_PTR_INDIRECTION_H +#define EO_BASE_PROTECTED + #include "Eo.h" #include "eo_private.h" --
