about summary refs log tree commit diff stats
path: root/src/include/cleanup.h
diff options
context:
space:
mode:
authorYang Liu <liuyang22@iscas.ac.cn>2025-04-11 18:26:51 +0800
committerGitHub <noreply@github.com>2025-04-11 12:26:51 +0200
commit6c46e3d9b15be3e5c6227bb97fd542a4100ec4d2 (patch)
treebf7552c358c240e44e53c176db44bad11a415de3 /src/include/cleanup.h
parentfa85d4d900c3e03b69bdea65204b51151fc62114 (diff)
downloadbox64-6c46e3d9b15be3e5c6227bb97fd542a4100ec4d2.tar.gz
box64-6c46e3d9b15be3e5c6227bb97fd542a4100ec4d2.zip
[WOW64] Splitted freq and cleanup functions from x64emu (#2521)
Diffstat (limited to 'src/include/cleanup.h')
-rw-r--r--src/include/cleanup.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/cleanup.h b/src/include/cleanup.h
new file mode 100644
index 00000000..99c13b36
--- /dev/null
+++ b/src/include/cleanup.h
@@ -0,0 +1,13 @@
+#ifndef __CLEANUP_H_
+#define __CLEANUP_H_
+
+#include "elfloader.h"
+
+typedef struct x64emu_s x64emu_t;
+
+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);
+
+#endif // __CLEANUP_H_
\ No newline at end of file