Move _fde_func_t typedef to shared .h
This commit is contained in:
parent
69e6c10c36
commit
da38a9d521
2 changed files with 2 additions and 2 deletions
|
@ -3,3 +3,5 @@
|
|||
typedef struct {
|
||||
uintptr_t rip, rsp, rbp;
|
||||
} unwind_context_t;
|
||||
|
||||
typedef unwind_context_t (*_fde_func_t)(unwind_context_t, uintptr_t);
|
||||
|
|
|
@ -4,10 +4,8 @@
|
|||
using namespace std;
|
||||
|
||||
static const char* PRELUDE =
|
||||
"#include <stdint.h>\n"
|
||||
"#include <assert.h>\n"
|
||||
"\n"
|
||||
"typedef unwind_context_t (*_fde_func_t)(unwind_context_t, uintptr_t);\n"
|
||||
;
|
||||
|
||||
CodeGenerator::CodeGenerator(
|
||||
|
|
Loading…
Add table
Reference in a new issue