Eo: Mark composite APIs as beta.
authorTom Hacohen <tom@stosb.com>
Fri, 8 May 2015 13:21:23 +0000 (14:21 +0100)
committerTom Hacohen <tom@stosb.com>
Fri, 8 May 2015 15:18:36 +0000 (16:18 +0100)
Until now we used @protected, but now we can finally properly use @beta.

src/lib/eo/eo.c
src/lib/eo/eo_base.eo
src/lib/eo/eo_base_class.c
src/lib/eo/eo_private.h
src/lib/eo/eo_ptr_indirection.h
src/tests/eo/composite_objects/composite_objects_comp.c
src/tests/eo/composite_objects/composite_objects_main.c
src/tests/eo/suite/eo_test_general.c

index b81d1de..0edac21 100644 (file)
@@ -8,7 +8,7 @@
 
 #include <Eina.h>
 
-#define EO_BASE_PROTECTED
+#define EO_BASE_BETA
 
 #include "Eo.h"
 #include "eo_ptr_indirection.h"
index 11b84da..b8c7ac0 100644 (file)
@@ -170,7 +170,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 @protected { /* XXX: Still BETA! */
+      composite_attach @beta {
            /**
             * @brief Make an object a composite object of another.
             *
@@ -187,7 +187,7 @@ callbacks of the same priority are called in reverse order of creation. */
            }
            return: bool; /*@ EINA_TRUE if successfull. EINA_FALSE otherwise. */
       }
-      composite_detach @protected { /* XXX: Still BETA! */
+      composite_detach @beta {
            /**
             * @brief Detach a composite object from another object.
             *
@@ -202,7 +202,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 @protected { /* XXX: Still BETA! */
+      composite_part_is @beta {
            /**
             * @brief Check if an object is part of a composite object.
             *
index 67d52ba..a84dcf0 100644 (file)
@@ -4,7 +4,7 @@
 
 #include <Eina.h>
 
-#define EO_BASE_PROTECTED
+#define EO_BASE_BETA
 
 #include "Eo.h"
 #include "eo_ptr_indirection.h"
index f8c76d4..73c6ee2 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef _EO_PRIVATE_H
 #define _EO_PRIVATE_H
 
-#define EO_BASE_PROTECTED
+#define EO_BASE_BETA
 
 #include <Eo.h>
 #include <Eina.h>
index 4108379..3a255aa 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef EO_PTR_INDIRECTION_H
 #define EO_PTR_INDIRECTION_H
 
-#define EO_BASE_PROTECTED
+#define EO_BASE_BETA
 
 #include "Eo.h"
 #include "eo_private.h"
index e92f3d4..21baed4 100644 (file)
@@ -2,7 +2,7 @@
 # include <config.h>
 #endif
 
-#define EO_BASE_PROTECTED
+#define EO_BASE_BETA
 
 #include "Eo.h"
 #include "composite_objects_simple.h"
index 9f9741c..6f78c9b 100644 (file)
@@ -2,7 +2,7 @@
 # include <config.h>
 #endif
 
-#define EO_BASE_PROTECTED
+#define EO_BASE_BETA
 
 #include "Eo.h"
 #include "composite_objects_simple.h"
index b0dc77a..037567d 100644 (file)
@@ -4,7 +4,7 @@
 
 #include <stdio.h>
 
-#define EO_BASE_PROTECTED
+#define EO_BASE_BETA
 
 #include "Eo.h"
 #include "eo_suite.h"