shared: add typedef for fde func with deref callback
This commit is contained in:
parent
273edde1ce
commit
5661ccbefc
1 changed files with 6 additions and 2 deletions
|
@ -4,6 +4,10 @@ typedef struct {
|
||||||
uintptr_t rip, rsp, rbp;
|
uintptr_t rip, rsp, rbp;
|
||||||
} unwind_context_t;
|
} unwind_context_t;
|
||||||
|
|
||||||
typedef unwind_context_t (*_fde_func_t)(unwind_context_t, uintptr_t);
|
|
||||||
|
|
||||||
typedef uintptr_t (*deref_func_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);
|
||||||
|
|
Loading…
Reference in a new issue