about summary refs log tree commit diff stats
path: root/src/include/callback.h
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-04-28 20:59:16 +0200
committerptitSeb <sebastien.chev@gmail.com>2023-04-28 20:59:16 +0200
commit34a6e81f72f8ec276bea8d440ec6d36239daa354 (patch)
tree83eb055f9268583e8b560a85a705ea6fa6d2be62 /src/include/callback.h
parent57a9b520b0cc5f2b0d48c96b310356850a75e252 (diff)
downloadbox64-34a6e81f72f8ec276bea8d440ec6d36239daa354.tar.gz
box64-34a6e81f72f8ec276bea8d440ec6d36239daa354.zip
Introduced RunFunctionFmt (should help RV64 and other signe extended platform), conversion not finished
Diffstat (limited to 'src/include/callback.h')
-rwxr-xr-xsrc/include/callback.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/callback.h b/src/include/callback.h
index eecbc3d2..836c858c 100755
--- a/src/include/callback.h
+++ b/src/include/callback.h
@@ -6,6 +6,7 @@
 typedef struct x64emu_s x64emu_t;
 
 uint64_t RunFunction(box64context_t *context, uintptr_t fnc, int nargs, ...);
+uint64_t RunFunctionFmt(box64context_t *context, uintptr_t fnc, const char* fmt, ...);
 // save all modified register
 uint64_t RunSafeFunction(box64context_t *context, uintptr_t fnc, int nargs, ...);
 // use emu state to run function