From c5a6875de940f296932154be434d2864e0652da8 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Thu, 15 Feb 2024 18:11:57 +0100 Subject: [ELFLOADER] Huge refactor of elfloader and symbol resolution. Some more cleaning need to be done, but that's a first step (should help #422, #360, #1046 and probably others) --- src/include/wrappedlibs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include/wrappedlibs.h') diff --git a/src/include/wrappedlibs.h b/src/include/wrappedlibs.h index afe997cb..9379a905 100644 --- a/src/include/wrappedlibs.h +++ b/src/include/wrappedlibs.h @@ -7,7 +7,7 @@ typedef struct box64context_s box64context_t; typedef int (*wrappedlib_init_t)(library_t * lib, box64context_t* box64); // 0 = success typedef void (*wrappedlib_fini_t)(library_t * lib); -typedef int (*wrappedlib_get_t)(library_t* lib, const char* name, uintptr_t *offs, uintptr_t *sz, size_t size, int* weak, int version, const char* vername, int local, const char* defver); +typedef int (*wrappedlib_get_t)(library_t* lib, const char* name, uintptr_t *offs, uintptr_t *sz, size_t size, int* weak, int* version, const char** vername, int local, int* veropt, void** elfsym); void setNeededLibs(library_t* lib, int n, ...); #define SETALT0(v) #v -- cgit 1.4.1