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
1 changed files with 6 additions and 2 deletions

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);