shared: add typedef for fde func with deref callback

This commit is contained in:
Théophile Bastian 2018-06-04 15:17:23 +02:00
parent 273edde1ce
commit 5661ccbefc

View file

@ -4,6 +4,10 @@ typedef struct {
uintptr_t rip, rsp, rbp;
} unwind_context_t;
typedef unwind_context_t (*_fde_func_t)(unwind_context_t, uintptr_t);
typedef uintptr_t (*deref_func_t)(uintptr_t);
typedef unwind_context_t (*_fde_func_t)(unwind_context_t, uintptr_t);
typedef unwind_context_t (*_fde_func_with_deref_t)(
unwind_context_t,
uintptr_t,
deref_func_t);