From 7db570af13eed1e90dd9a166e57e37f58db7d5c7 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sun, 19 Mar 2023 11:52:34 +0100 Subject: Rmoved the 32bits->64bits wrapper hack (there might be some regression, but it's needed for riscv and other architectures wich sign extend ther 32bits values) --- src/wrapped/generated/wrappedlibpthreadtypes.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/wrapped/generated/wrappedlibpthreadtypes.h') diff --git a/src/wrapped/generated/wrappedlibpthreadtypes.h b/src/wrapped/generated/wrappedlibpthreadtypes.h index 6d230b2f..ededbb15 100644 --- a/src/wrapped/generated/wrappedlibpthreadtypes.h +++ b/src/wrapped/generated/wrappedlibpthreadtypes.h @@ -12,19 +12,19 @@ #endif typedef void (*vFp_t)(void*); -typedef int64_t (*iFp_t)(void*); -typedef void (*vFpi_t)(void*, int64_t); -typedef int64_t (*iFLp_t)(uintptr_t, void*); -typedef int64_t (*iFpi_t)(void*, int64_t); -typedef int64_t (*iFpL_t)(void*, uintptr_t); -typedef int64_t (*iFpp_t)(void*, void*); +typedef int32_t (*iFp_t)(void*); +typedef void (*vFpi_t)(void*, int32_t); +typedef int32_t (*iFLp_t)(uintptr_t, void*); +typedef int32_t (*iFpi_t)(void*, int32_t); +typedef int32_t (*iFpL_t)(void*, uintptr_t); +typedef int32_t (*iFpp_t)(void*, void*); typedef void (*vFppp_t)(void*, void*, void*); -typedef int64_t (*iFpLp_t)(void*, uintptr_t, void*); -typedef int64_t (*iFppu_t)(void*, void*, uint64_t); -typedef int64_t (*iFppL_t)(void*, void*, uintptr_t); -typedef int64_t (*iFppp_t)(void*, void*, void*); -typedef int64_t (*iFppip_t)(void*, void*, int64_t, void*); -typedef int64_t (*iFpppp_t)(void*, void*, void*, void*); +typedef int32_t (*iFpLp_t)(void*, uintptr_t, void*); +typedef int32_t (*iFppu_t)(void*, void*, uint32_t); +typedef int32_t (*iFppL_t)(void*, void*, uintptr_t); +typedef int32_t (*iFppp_t)(void*, void*, void*); +typedef int32_t (*iFppip_t)(void*, void*, int32_t, void*); +typedef int32_t (*iFpppp_t)(void*, void*, void*, void*); #define SUPER() ADDED_FUNCTIONS() \ GO(__pthread_register_cancel, vFp_t) \ -- cgit 1.4.1