diff options
author | Tom Hacohen <tom@stosb.com> | 2013-11-11 10:59:54 +0000 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-01-03 16:22:20 +0100 |
commit | 3388bc3414e1c5c9156b72b99bc38943b7e6f9bf (patch) | |
tree | eee420a1299115cba346b817a54f216cea5100d8 | |
parent | bb6f3dba8cc898feba0f7892bcd9df1c1536c6d0 (diff) | |
download | efl-3388bc3414e1c5c9156b72b99bc38943b7e6f9bf.tar.gz |
eo2: get rid of eo2_stack_depth_get.
This is super internal, no reason why it should be exposed.
We should just implement automatic stack growth.
-rw-r--r-- | src/lib/eo/Eo.h | 2 | ||||
-rw-r--r-- | src/lib/eo/eo.c | 6 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/eo/Eo.h b/src/lib/eo/Eo.h index e95aa5df9a..94a6bc7fe5 100644 --- a/src/lib/eo/Eo.h +++ b/src/lib/eo/Eo.h @@ -715,8 +715,6 @@ EAPI Eina_Bool _eo2_do_start(const Eo *obj, const Eo_Class *cur_klass, Eina_Bool // end of the eo2_do barrier, unref the obj, move the stack pointer EAPI void _eo2_do_end(const Eo **ojb); -EAPI int eo2_call_stack_depth(void); - #define EO2_DO_CLEANUP __attribute__((cleanup(_eo2_do_end))) // eo object method calls batch, diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c index f2ed9073d6..fc8abc303f 100644 --- a/src/lib/eo/eo.c +++ b/src/lib/eo/eo.c @@ -317,12 +317,6 @@ _eo2_call_stack_free() free(eo2_call_stack.stack); } -EAPI int -eo2_call_stack_depth() -{ - return (eo2_call_stack.frame_ptr - eo2_call_stack.stack); -} - static inline Eina_Bool _eo2_do_internal(const Eo *eo_id, const Eo_Class *cur_klass_id, Eina_Bool is_super, Eo2_Stack_Frame *fptr, Eo2_Stack_Frame *pfptr) |