about summary refs log tree commit diff stats
path: root/src/wrapped32/generated/wrappedlibpthreadtypes32.h
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-11-07 13:26:55 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-11-07 13:26:55 +0100
commitda0e153a055dde5c7b6fa0eaa79095b0ffdca518 (patch)
tree2b3c71b4a7b43e4e40086054d82c3d98044c869d /src/wrapped32/generated/wrappedlibpthreadtypes32.h
parent394e81af452f64439fb8d8ab7254ce19f71d4390 (diff)
downloadbox64-da0e153a055dde5c7b6fa0eaa79095b0ffdca518.tar.gz
box64-da0e153a055dde5c7b6fa0eaa79095b0ffdca518.zip
[BOX32] Improve errno handling, and added a few more libc wrapped functions
Diffstat (limited to 'src/wrapped32/generated/wrappedlibpthreadtypes32.h')
-rw-r--r--src/wrapped32/generated/wrappedlibpthreadtypes32.h202
1 files changed, 101 insertions, 101 deletions
diff --git a/src/wrapped32/generated/wrappedlibpthreadtypes32.h b/src/wrapped32/generated/wrappedlibpthreadtypes32.h
index 88f78141..de6f6033 100644
--- a/src/wrapped32/generated/wrappedlibpthreadtypes32.h
+++ b/src/wrapped32/generated/wrappedlibpthreadtypes32.h
@@ -11,108 +11,108 @@
 #define ADDED_FUNCTIONS() 
 #endif
 
-typedef void (*vFv_t)(void);
-typedef void (*vFp_t)(void*);
-typedef int32_t (*iFp_t)(void*);
-typedef int32_t (*iFh_t)(uintptr_t);
-typedef void (*vFpi_t)(void*, int32_t);
-typedef int32_t (*iFpi_t)(void*, int32_t);
-typedef int32_t (*iFpL_t)(void*, uintptr_t);
-typedef int32_t (*iFpp_t)(void*, void*);
-typedef int32_t (*iFhi_t)(uintptr_t, int32_t);
-typedef int32_t (*iFhp_t)(uintptr_t, void*);
-typedef int32_t (*iFprLL__t)(void*, struct_LL_t*);
-typedef void (*vFppp_t)(void*, void*, void*);
-typedef int32_t (*iFpiu_t)(void*, int32_t, uint32_t);
-typedef int32_t (*iFpup_t)(void*, uint32_t, void*);
-typedef int32_t (*iFppL_t)(void*, void*, uintptr_t);
-typedef int32_t (*iFppp_t)(void*, void*, void*);
-typedef int32_t (*iFhup_t)(uintptr_t, uint32_t, void*);
-typedef void* (*pFpOM_t)(void*, int32_t, ...);
-typedef int32_t (*iFpprLL__t)(void*, void*, struct_LL_t*);
-typedef int32_t (*iFBh_ppp_t)(struct_h_t*, void*, void*, void*);
+typedef void (*vEv_t)(void);
+typedef void (*vEp_t)(void*);
+typedef int32_t (*iEp_t)(void*);
+typedef int32_t (*iEh_t)(uintptr_t);
+typedef void (*vEpi_t)(void*, int32_t);
+typedef int32_t (*iEpi_t)(void*, int32_t);
+typedef int32_t (*iEpL_t)(void*, uintptr_t);
+typedef int32_t (*iEpp_t)(void*, void*);
+typedef int32_t (*iEhi_t)(uintptr_t, int32_t);
+typedef int32_t (*iEhp_t)(uintptr_t, void*);
+typedef int32_t (*iEprLL__t)(void*, struct_LL_t*);
+typedef void (*vEppp_t)(void*, void*, void*);
+typedef int32_t (*iEpiu_t)(void*, int32_t, uint32_t);
+typedef int32_t (*iEpup_t)(void*, uint32_t, void*);
+typedef int32_t (*iEppL_t)(void*, void*, uintptr_t);
+typedef int32_t (*iEppp_t)(void*, void*, void*);
+typedef int32_t (*iEhup_t)(uintptr_t, uint32_t, void*);
+typedef void* (*pEpOM_t)(void*, int32_t, ...);
+typedef int32_t (*iEpprLL__t)(void*, void*, struct_LL_t*);
+typedef int32_t (*iEBh_ppp_t)(struct_h_t*, void*, void*, void*);
 
 #define SUPER() ADDED_FUNCTIONS() \
-	GO(__pthread_initialize, vFv_t) \
-	GO(__pthread_register_cancel, vFp_t) \
-	GO(__pthread_unregister_cancel, vFp_t) \
-	GO(__pthread_unwind_next, vFp_t) \
-	GO(__pthread_mutex_destroy, iFp_t) \
-	GO(__pthread_mutex_lock, iFp_t) \
-	GO(__pthread_mutex_trylock, iFp_t) \
-	GO(__pthread_mutex_unlock, iFp_t) \
-	GO(__pthread_mutexattr_init, iFp_t) \
-	GO(pthread_attr_destroy, iFp_t) \
-	GO(pthread_attr_init, iFp_t) \
-	GO(pthread_cond_broadcast, iFp_t) \
-	GO(pthread_cond_broadcast@GLIBC_2.0, iFp_t) \
-	GO(pthread_cond_destroy, iFp_t) \
-	GO(pthread_cond_destroy@GLIBC_2.0, iFp_t) \
-	GO(pthread_cond_signal, iFp_t) \
-	GO(pthread_cond_signal@GLIBC_2.0, iFp_t) \
-	GO(pthread_mutex_destroy, iFp_t) \
-	GO(pthread_mutex_lock, iFp_t) \
-	GO(pthread_mutex_trylock, iFp_t) \
-	GO(pthread_mutex_unlock, iFp_t) \
-	GO(pthread_mutexattr_init, iFp_t) \
-	GO(pthread_rwlock_destroy, iFp_t) \
-	GO(pthread_rwlock_unlock, iFp_t) \
-	GO(pthread_rwlock_wrlock, iFp_t) \
-	GO(sem_close, iFp_t) \
-	GO(sem_destroy, iFp_t) \
-	GO(sem_post, iFp_t) \
-	GO(sem_trywait, iFp_t) \
-	GO(sem_wait, iFp_t) \
-	GO(pthread_detach, iFh_t) \
-	GO(_pthread_cleanup_pop, vFpi_t) \
-	GO(_pthread_cleanup_pop_restore, vFpi_t) \
-	GO(pthread_attr_setdetachstate, iFpi_t) \
-	GO(pthread_attr_setinheritsched, iFpi_t) \
-	GO(pthread_attr_setschedpolicy, iFpi_t) \
-	GO(pthread_attr_setscope, iFpi_t) \
-	GO(pthread_mutexattr_setkind_np, iFpi_t) \
-	GO(pthread_attr_setguardsize, iFpL_t) \
-	GO(pthread_attr_setstacksize, iFpL_t) \
-	GO(__pthread_key_create, iFpp_t) \
-	GO(__pthread_mutex_init, iFpp_t) \
-	GO(__pthread_once, iFpp_t) \
-	GO(__pthread_rwlock_init, iFpp_t) \
-	GO(pthread_attr_getdetachstate, iFpp_t) \
-	GO(pthread_attr_getguardsize, iFpp_t) \
-	GO(pthread_attr_getinheritsched, iFpp_t) \
-	GO(pthread_attr_getschedparam, iFpp_t) \
-	GO(pthread_attr_getschedpolicy, iFpp_t) \
-	GO(pthread_attr_getscope, iFpp_t) \
-	GO(pthread_attr_getstackaddr, iFpp_t) \
-	GO(pthread_attr_getstacksize, iFpp_t) \
-	GO(pthread_attr_setschedparam, iFpp_t) \
-	GO(pthread_attr_setstackaddr, iFpp_t) \
-	GO(pthread_cond_init, iFpp_t) \
-	GO(pthread_cond_init@GLIBC_2.0, iFpp_t) \
-	GO(pthread_cond_wait, iFpp_t) \
-	GO(pthread_cond_wait@GLIBC_2.0, iFpp_t) \
-	GO(pthread_key_create, iFpp_t) \
-	GO(pthread_mutex_init, iFpp_t) \
-	GO(pthread_mutex_timedlock, iFpp_t) \
-	GO(pthread_once, iFpp_t) \
-	GO(pthread_rwlock_init, iFpp_t) \
-	GO(sem_getvalue, iFpp_t) \
-	GO(pthread_kill@GLIBC_2.0, iFhi_t) \
-	GO(pthread_getattr_np, iFhp_t) \
-	GO(sem_timedwait, iFprLL__t) \
-	GO(_pthread_cleanup_push, vFppp_t) \
-	GO(_pthread_cleanup_push_defer, vFppp_t) \
-	GO(sem_init, iFpiu_t) \
-	GO(pthread_attr_setaffinity_np, iFpup_t) \
-	GO(pthread_attr_setstack, iFppL_t) \
-	GO(__pthread_atfork, iFppp_t) \
-	GO(pthread_atfork, iFppp_t) \
-	GO(pthread_attr_getstack, iFppp_t) \
-	GO(pthread_getaffinity_np, iFhup_t) \
-	GO(pthread_setaffinity_np, iFhup_t) \
-	GO(sem_open, pFpOM_t) \
-	GO(pthread_cond_timedwait, iFpprLL__t) \
-	GO(pthread_cond_timedwait@GLIBC_2.0, iFpprLL__t) \
-	GO(pthread_create, iFBh_ppp_t)
+	GO(__pthread_initialize, vEv_t) \
+	GO(__pthread_register_cancel, vEp_t) \
+	GO(__pthread_unregister_cancel, vEp_t) \
+	GO(__pthread_unwind_next, vEp_t) \
+	GO(__pthread_mutex_destroy, iEp_t) \
+	GO(__pthread_mutex_lock, iEp_t) \
+	GO(__pthread_mutex_trylock, iEp_t) \
+	GO(__pthread_mutex_unlock, iEp_t) \
+	GO(__pthread_mutexattr_init, iEp_t) \
+	GO(pthread_attr_destroy, iEp_t) \
+	GO(pthread_attr_init, iEp_t) \
+	GO(pthread_cond_broadcast, iEp_t) \
+	GO(pthread_cond_broadcast@GLIBC_2.0, iEp_t) \
+	GO(pthread_cond_destroy, iEp_t) \
+	GO(pthread_cond_destroy@GLIBC_2.0, iEp_t) \
+	GO(pthread_cond_signal, iEp_t) \
+	GO(pthread_cond_signal@GLIBC_2.0, iEp_t) \
+	GO(pthread_mutex_destroy, iEp_t) \
+	GO(pthread_mutex_lock, iEp_t) \
+	GO(pthread_mutex_trylock, iEp_t) \
+	GO(pthread_mutex_unlock, iEp_t) \
+	GO(pthread_mutexattr_init, iEp_t) \
+	GO(pthread_rwlock_destroy, iEp_t) \
+	GO(pthread_rwlock_unlock, iEp_t) \
+	GO(pthread_rwlock_wrlock, iEp_t) \
+	GO(sem_close, iEp_t) \
+	GO(sem_destroy, iEp_t) \
+	GO(sem_post, iEp_t) \
+	GO(sem_trywait, iEp_t) \
+	GO(sem_wait, iEp_t) \
+	GO(pthread_detach, iEh_t) \
+	GO(_pthread_cleanup_pop, vEpi_t) \
+	GO(_pthread_cleanup_pop_restore, vEpi_t) \
+	GO(pthread_attr_setdetachstate, iEpi_t) \
+	GO(pthread_attr_setinheritsched, iEpi_t) \
+	GO(pthread_attr_setschedpolicy, iEpi_t) \
+	GO(pthread_attr_setscope, iEpi_t) \
+	GO(pthread_mutexattr_setkind_np, iEpi_t) \
+	GO(pthread_attr_setguardsize, iEpL_t) \
+	GO(pthread_attr_setstacksize, iEpL_t) \
+	GO(__pthread_key_create, iEpp_t) \
+	GO(__pthread_mutex_init, iEpp_t) \
+	GO(__pthread_once, iEpp_t) \
+	GO(__pthread_rwlock_init, iEpp_t) \
+	GO(pthread_attr_getdetachstate, iEpp_t) \
+	GO(pthread_attr_getguardsize, iEpp_t) \
+	GO(pthread_attr_getinheritsched, iEpp_t) \
+	GO(pthread_attr_getschedparam, iEpp_t) \
+	GO(pthread_attr_getschedpolicy, iEpp_t) \
+	GO(pthread_attr_getscope, iEpp_t) \
+	GO(pthread_attr_getstackaddr, iEpp_t) \
+	GO(pthread_attr_getstacksize, iEpp_t) \
+	GO(pthread_attr_setschedparam, iEpp_t) \
+	GO(pthread_attr_setstackaddr, iEpp_t) \
+	GO(pthread_cond_init, iEpp_t) \
+	GO(pthread_cond_init@GLIBC_2.0, iEpp_t) \
+	GO(pthread_cond_wait, iEpp_t) \
+	GO(pthread_cond_wait@GLIBC_2.0, iEpp_t) \
+	GO(pthread_key_create, iEpp_t) \
+	GO(pthread_mutex_init, iEpp_t) \
+	GO(pthread_mutex_timedlock, iEpp_t) \
+	GO(pthread_once, iEpp_t) \
+	GO(pthread_rwlock_init, iEpp_t) \
+	GO(sem_getvalue, iEpp_t) \
+	GO(pthread_kill@GLIBC_2.0, iEhi_t) \
+	GO(pthread_getattr_np, iEhp_t) \
+	GO(sem_timedwait, iEprLL__t) \
+	GO(_pthread_cleanup_push, vEppp_t) \
+	GO(_pthread_cleanup_push_defer, vEppp_t) \
+	GO(sem_init, iEpiu_t) \
+	GO(pthread_attr_setaffinity_np, iEpup_t) \
+	GO(pthread_attr_setstack, iEppL_t) \
+	GO(__pthread_atfork, iEppp_t) \
+	GO(pthread_atfork, iEppp_t) \
+	GO(pthread_attr_getstack, iEppp_t) \
+	GO(pthread_getaffinity_np, iEhup_t) \
+	GO(pthread_setaffinity_np, iEhup_t) \
+	GO(sem_open, pEpOM_t) \
+	GO(pthread_cond_timedwait, iEpprLL__t) \
+	GO(pthread_cond_timedwait@GLIBC_2.0, iEpprLL__t) \
+	GO(pthread_create, iEBh_ppp_t)
 
 #endif // __wrappedlibpthreadTYPES32_H_