diff options
author | tasn <tasn> | 2012-08-23 15:04:48 +0000 |
---|---|---|
committer | tasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33> | 2012-08-23 15:04:48 +0000 |
commit | 189036c0e71c51cea4939da60d1c7b75a6bf896b (patch) | |
tree | dc309d4fd2698284b64dff6663c1f779fc984db3 | |
parent | 0785a5d47395490b73a880416b232001ca92fdc0 (diff) | |
download | eobj-189036c0e71c51cea4939da60d1c7b75a6bf896b.tar.gz eobj-189036c0e71c51cea4939da60d1c7b75a6bf896b.tar.bz2 eobj-189036c0e71c51cea4939da60d1c7b75a6bf896b.zip |
Eo: Moved a magic check from an internal function to the external function.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@75626 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
-rw-r--r-- | src/lib/eo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eo.c b/src/lib/eo.c index 4d2a2f2..9ece6f2 100644 --- a/src/lib/eo.c +++ b/src/lib/eo.c @@ -386,8 +386,6 @@ _eo_dov_internal(Eo *obj, Eo_Op_Type op_type, va_list p_list) Eo_Op op = EO_NOOP; Eo_Kls_Itr prev_state; - EO_MAGIC_RETURN_VAL(obj, EO_EINA_MAGIC, EINA_FALSE); - prev_error = obj->do_error; _eo_ref(obj); @@ -422,6 +420,8 @@ eo_do_internal(Eo *obj, Eo_Op_Type op_type, ...) Eina_Bool ret = EINA_TRUE; va_list p_list; + EO_MAGIC_RETURN_VAL(obj, EO_EINA_MAGIC, EINA_FALSE); + va_start(p_list, op_type); ret = _eo_dov_internal(obj, op_type, p_list); |