forked from enlightenment/efl
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.
This commit is contained in:
parent
76dc0d99a6
commit
08aca96bc3
|
@ -717,8 +717,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
|
// end of the eo2_do barrier, unref the obj, move the stack pointer
|
||||||
EAPI void _eo2_do_end(const Eo **ojb);
|
EAPI void _eo2_do_end(const Eo **ojb);
|
||||||
|
|
||||||
EAPI int eo2_call_stack_depth(void);
|
|
||||||
|
|
||||||
#define EO2_DO_CLEANUP __attribute__((cleanup(_eo2_do_end)))
|
#define EO2_DO_CLEANUP __attribute__((cleanup(_eo2_do_end)))
|
||||||
|
|
||||||
// eo object method calls batch,
|
// eo object method calls batch,
|
||||||
|
|
|
@ -318,12 +318,6 @@ _eo2_call_stack_free()
|
||||||
free(eo2_call_stack.stack);
|
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
|
static inline Eina_Bool
|
||||||
_eo2_do_internal(const Eo *eo_id, const Eo_Class *cur_klass_id,
|
_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)
|
Eina_Bool is_super, Eo2_Stack_Frame *fptr, Eo2_Stack_Frame *pfptr)
|
||||||
|
|
Loading…
Reference in New Issue