cedric pushed a commit to branch master.
commit 1dd7ed18bcc23e1ac473789416a0d9f61ca07b90
Author: Cedric Bail <[email protected]>
Date: Tue Jul 23 11:26:58 2013 +0900
eo: turn Eo API in a beta API as discussion are still ongoing.
---
src/lib/eo/Eo.h | 42 +++++++++++++++++++++++++++++-------------
1 file changed, 29 insertions(+), 13 deletions(-)
diff --git a/src/lib/eo/Eo.h b/src/lib/eo/Eo.h
index 5a5be84..c9c482b 100644
--- a/src/lib/eo/Eo.h
+++ b/src/lib/eo/Eo.h
@@ -35,6 +35,33 @@ extern "C" {
#endif
/**
+ * @typedef Eo
+ * The basic Object type.
+ */
+typedef struct _Eo_Opaque Eo;
+
+/**
+ * @typedef Eo_Class
+ * The basic Object class type.
+ * @ingroup Eo_Class
+ */
+typedef struct _Eo_Class_Opaque Eo_Class;
+
+/**
+ * @typedef Eo_Callback_Priority
+ *
+ * Callback priority value. Range is -32k - 32k. The lower the number, the
+ * higher the priority.
+ *
+ * @see EO_CALLBACK_PRIORITY_AFTER
+ * @see EO_CALLBACK_PRIORITY_BEFORE
+ * @see EO_CALLBACK_PRIORITY_DEFAULT
+ */
+typedef short Eo_Callback_Priority;
+
+#ifdef EFL_BETA_API_SUPPORT
+
+/**
* @var _eo_class_creation_lock
* This variable is used for locking purposes in the class_get function
* defined in #EO_DEFINE_CLASS.
@@ -215,25 +242,12 @@ EAPI void eo_dbg_info_free(Eo_Dbg_Info *info);
})
/**
- * @typedef Eo
- * The basic Object type.
- */
-typedef struct _Eo_Opaque Eo;
-
-/**
* @typedef Eo_Op
* The Eo operation type id.
*/
typedef unsigned int Eo_Op;
/**
- * @typedef Eo_Class
- * The basic Object class type.
- * @ingroup Eo_Class
- */
-typedef struct _Eo_Class_Opaque Eo_Class;
-
-/**
* @def EO_NOOP
* A special #Eo_Op meaning "No operation".
*/
@@ -1552,3 +1566,5 @@ EAPI extern const Eo_Event_Description _EO_EV_DEL;
#endif
#endif
+
+#endif
--
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk