aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-04-15 08:18:25 +0100
committerTom Hacohen <tom@stosb.com>2015-04-15 08:18:25 +0100
commite891c56f60280c3db6d95833326b78dda7ea0edb (patch)
treef0d99855f7d1bcd0dd1a13c76bf2dd3d59ac26a5
parenteo: add eo_error_get (diff)
downloadefl-e891c56f60280c3db6d95833326b78dda7ea0edb.tar.gz
Revert "eo: add eo_error_get"
As discussed on IRC and ML. We are in a feature freeze phase, and this patch is not essential. Furthermore, this patch was never discussed. This reverts commit 537c7fe9e3a72242c386b8851dd450fdc6312171.
-rw-r--r--src/lib/eo/Eo.h13
-rw-r--r--src/lib/eo/eo.c8
2 files changed, 0 insertions, 21 deletions
diff --git a/src/lib/eo/Eo.h b/src/lib/eo/Eo.h
index 96e5c37033..46e9d73ef8 100644
--- a/src/lib/eo/Eo.h
+++ b/src/lib/eo/Eo.h
@@ -631,19 +631,6 @@ EAPI const Eo_Class *eo_class_get(const Eo *obj);
EAPI void eo_error_set_internal(const Eo *obj, const char *file, int line);
/* @endcond */
-/**
- * @def eo_error_get
- * @brief Get whether or not the eo has error when constructing, destructing or calling a function of the object.
- * @param obj the object to work on.
- *
- * @see eo_error_set()
- */
-#define eo_error_get(obj) eo_error_get_internal(obj)
-
-/* @cond 0 */
-EAPI Eina_Bool eo_error_get_internal(const Eo *obj);
-/* @endcond */
-
#define _eo_add_common(klass, parent, is_ref, ...) \
( \
_eo_do_start(_eo_add_internal_start(__FILE__, __LINE__, klass, parent, is_ref), \
diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index bcc1796c25..166e6385bf 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -1584,14 +1584,6 @@ eo_error_set_internal(const Eo *obj_id, const char *file, int line)
obj->do_error = EINA_TRUE;
}
-EAPI Eina_Bool
-eo_error_get_internal(const Eo *obj_id)
-{
- EO_OBJ_POINTER_RETURN_VAL(obj_id, obj, EINA_TRUE);
-
- return obj->do_error;
-}
-
void
_eo_condtor_done(Eo *obj_id)
{