about summary refs log tree commit diff stats
path: root/src/include
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-02-06 18:20:11 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-02-06 18:20:11 +0100
commitee2580a57fae19e1c47a1af03dcfb3edffe697b3 (patch)
tree702dfb0ae7170c0a33c1761fb17cb801d73102f8 /src/include
parent255d5c661e0cf1a4d2bd2664b2cc8cc7587b6226 (diff)
downloadbox64-ee2580a57fae19e1c47a1af03dcfb3edffe697b3.tar.gz
box64-ee2580a57fae19e1c47a1af03dcfb3edffe697b3.zip
Reworked, again, exit process
Diffstat (limited to 'src/include')
-rw-r--r--src/include/x64emu.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/x64emu.h b/src/include/x64emu.h
index 51a27a18..e0adf686 100644
--- a/src/include/x64emu.h
+++ b/src/include/x64emu.h
@@ -3,6 +3,7 @@
 
 typedef struct x64emu_s x64emu_t;
 typedef struct box64context_s box64context_t;
+typedef struct elfheader_s elfheader_t;
 
 x64emu_t *NewX64Emu(box64context_t *context, uintptr_t start, uintptr_t stack, int stacksize, int ownstack);
 x64emu_t *NewX64EmuFromStack(x64emu_t* emu, box64context_t *context, uintptr_t start, uintptr_t stack, int stacksize, int ownstack);
@@ -45,9 +46,9 @@ const char* DumpCPURegs(x64emu_t* emu, uintptr_t ip, int is32bits);
 
 void StopEmu(x64emu_t* emu, const char* reason, int is32bits);
 void EmuCall(x64emu_t* emu, uintptr_t addr);
-void AddCleanup(x64emu_t *emu, void *p, void* dso_handle);
-void AddCleanup1Arg(x64emu_t *emu, void *p, void* a, void* dso_handle);
-void CallCleanup(x64emu_t *emu, void* p);
+void AddCleanup(x64emu_t *emu, void *p);
+void AddCleanup1Arg(x64emu_t *emu, void *p, void* a, elfheader_t* h);
+void CallCleanup(x64emu_t *emu, elfheader_t* h);
 void CallAllCleanup(x64emu_t *emu);
 void UnimpOpcode(x64emu_t* emu, int is32bits);