Move _fde_func_t typedef to shared .h

This commit is contained in:
Théophile Bastian 2018-04-27 11:05:34 +02:00
parent 69e6c10c36
commit da38a9d521
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -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(