From 5661ccbefc7c56b90ecf51178d494960d7902882 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Bastian?= Date: Mon, 4 Jun 2018 15:17:23 +0200 Subject: [PATCH] shared: add typedef for fde func with deref callback --- shared/context_struct.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/shared/context_struct.h b/shared/context_struct.h index 41a49e8..ae6ffeb 100644 --- a/shared/context_struct.h +++ b/shared/context_struct.h @@ -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);