about summary refs log tree commit diff stats
path: root/src/wrapped/generated/wrappedlibpthreadtypes.h
diff options
context:
space:
mode:
authorrajdakin <rajdakin@gmail.com>2021-04-11 17:53:23 +0200
committerrajdakin <rajdakin@gmail.com>2021-04-11 17:53:23 +0200
commit72a505a3e885c2e180a6da51e0640953f956258d (patch)
tree70e76f79cacd131b6c54d44aaa8ab2b4f02194fa /src/wrapped/generated/wrappedlibpthreadtypes.h
parent550d252386d0a4d2bdb77de7264f6ab1bad98042 (diff)
downloadbox64-72a505a3e885c2e180a6da51e0640953f956258d.tar.gz
box64-72a505a3e885c2e180a6da51e0640953f956258d.zip
General improvements to box64 and fixed some SDL2 functions
Diffstat (limited to 'src/wrapped/generated/wrappedlibpthreadtypes.h')
-rw-r--r--src/wrapped/generated/wrappedlibpthreadtypes.h66
1 files changed, 66 insertions, 0 deletions
diff --git a/src/wrapped/generated/wrappedlibpthreadtypes.h b/src/wrapped/generated/wrappedlibpthreadtypes.h
new file mode 100644
index 00000000..6b2f2751
--- /dev/null
+++ b/src/wrapped/generated/wrappedlibpthreadtypes.h
@@ -0,0 +1,66 @@
+/*******************************************************************
+ * File automatically generated by rebuild_wrappers.py (v1.3.0.10) *
+ *******************************************************************/
+#ifndef __wrappedlibpthreadTYPES_H_
+#define __wrappedlibpthreadTYPES_H_
+
+#ifndef LIBNAME
+#error You should only #include this file inside a wrapped*.c file
+#endif
+#ifndef ADDED_FUNCTIONS
+#define ADDED_FUNCTIONS() 
+#endif
+
+typedef void (*vFp_t)(void*);
+typedef int64_t (*iFp_t)(void*);
+typedef void (*vFpi_t)(void*, int64_t);
+typedef int64_t (*iFpi_t)(void*, int64_t);
+typedef int64_t (*iFpL_t)(void*, uintptr_t);
+typedef int64_t (*iFpp_t)(void*, void*);
+typedef void (*vFppp_t)(void*, void*, void*);
+typedef int64_t (*iFpLp_t)(void*, uintptr_t, void*);
+typedef int64_t (*iFppL_t)(void*, void*, uintptr_t);
+typedef int64_t (*iFppp_t)(void*, void*, void*);
+typedef int64_t (*iFpppp_t)(void*, void*, void*, void*);
+
+#define SUPER() ADDED_FUNCTIONS() \
+	GO(__pthread_register_cancel, vFp_t) \
+	GO(__pthread_unregister_cancel, vFp_t) \
+	GO(__pthread_unwind_next, vFp_t) \
+	GO(pthread_attr_destroy, iFp_t) \
+	GO(pthread_attr_init, iFp_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_kill, iFpi_t) \
+	GO(pthread_attr_setguardsize, iFpL_t) \
+	GO(pthread_attr_setstacksize, iFpL_t) \
+	GO(__pthread_key_create, iFpp_t) \
+	GO(__pthread_once, 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_wait, iFpp_t) \
+	GO(pthread_key_create, iFpp_t) \
+	GO(pthread_once, iFpp_t) \
+	GO(_pthread_cleanup_push, vFppp_t) \
+	GO(_pthread_cleanup_push_defer, vFppp_t) \
+	GO(pthread_attr_setaffinity_np, iFpLp_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_cond_timedwait, iFppp_t) \
+	GO(pthread_create, iFpppp_t)
+
+#endif // __wrappedlibpthreadTYPES_H_