diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-09-18 21:15:35 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-09-18 21:15:35 +0200 |
| commit | 8531750631a1d53ca6061bfbe458e8998415850a (patch) | |
| tree | 1451a1b9039ef981411265fef2d67f30f042a9b7 /src/wrapped/generated | |
| parent | 9414ece323bc6a9d024b6b969eb9f9c8bb9e20d3 (diff) | |
| download | box64-8531750631a1d53ca6061bfbe458e8998415850a.tar.gz box64-8531750631a1d53ca6061bfbe458e8998415850a.zip | |
Added wrapped libsndfile (dwarf fortress have sound now, and seems completly playable)
Diffstat (limited to 'src/wrapped/generated')
| -rw-r--r-- | src/wrapped/generated/functions_list.txt | 7 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedlibsndfiledefs.h | 8 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedlibsndfiletypes.h | 21 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedlibsndfileundefs.h | 8 | ||||
| -rw-r--r-- | src/wrapped/generated/wrapper.c | 6 | ||||
| -rw-r--r-- | src/wrapped/generated/wrapper.h | 2 |
6 files changed, 52 insertions, 0 deletions
diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index 62102793..56c54d8f 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -388,6 +388,7 @@ #() IFiIi #() IFpIi #() IFppi +#() IFppI #() IFppu #() IFSIi #() uFEpW @@ -790,6 +791,7 @@ #() pFiiiu #() pFiiuu #() pFiiup +#() pFiipi #() pFipii #() pFipip #() pFippi @@ -2736,6 +2738,11 @@ wrappedlibsm: - SmcInteractRequest - pFppiiLpppip: - SmcOpenConnection +wrappedlibsndfile: +- iFp: + - sf_close +- pFpipp: + - sf_open_virtual wrappedlibssl: - vFpp: - SSL_CTX_set_default_passwd_cb diff --git a/src/wrapped/generated/wrappedlibsndfiledefs.h b/src/wrapped/generated/wrappedlibsndfiledefs.h new file mode 100644 index 00000000..76c1ded7 --- /dev/null +++ b/src/wrapped/generated/wrappedlibsndfiledefs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.1.0.16) * + *******************************************************************/ +#ifndef __wrappedlibsndfileDEFS_H_ +#define __wrappedlibsndfileDEFS_H_ + + +#endif // __wrappedlibsndfileDEFS_H_ diff --git a/src/wrapped/generated/wrappedlibsndfiletypes.h b/src/wrapped/generated/wrappedlibsndfiletypes.h new file mode 100644 index 00000000..5363a54d --- /dev/null +++ b/src/wrapped/generated/wrappedlibsndfiletypes.h @@ -0,0 +1,21 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.1.0.16) * + *******************************************************************/ +#ifndef __wrappedlibsndfileTYPES_H_ +#define __wrappedlibsndfileTYPES_H_ + +#ifndef LIBNAME +#error You should only #include this file inside a wrapped*.c file +#endif +#ifndef ADDED_FUNCTIONS +#define ADDED_FUNCTIONS() +#endif + +typedef int64_t (*iFp_t)(void*); +typedef void* (*pFpipp_t)(void*, int64_t, void*, void*); + +#define SUPER() ADDED_FUNCTIONS() \ + GO(sf_close, iFp_t) \ + GO(sf_open_virtual, pFpipp_t) + +#endif // __wrappedlibsndfileTYPES_H_ diff --git a/src/wrapped/generated/wrappedlibsndfileundefs.h b/src/wrapped/generated/wrappedlibsndfileundefs.h new file mode 100644 index 00000000..81ff43f2 --- /dev/null +++ b/src/wrapped/generated/wrappedlibsndfileundefs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.1.0.16) * + *******************************************************************/ +#ifndef __wrappedlibsndfileUNDEFS_H_ +#define __wrappedlibsndfileUNDEFS_H_ + + +#endif // __wrappedlibsndfileUNDEFS_H_ diff --git a/src/wrapped/generated/wrapper.c b/src/wrapped/generated/wrapper.c index 22a2c6bb..50df6300 100644 --- a/src/wrapped/generated/wrapper.c +++ b/src/wrapped/generated/wrapper.c @@ -422,6 +422,7 @@ typedef int64_t (*iFSpL_t)(void*, void*, uintptr_t); typedef int64_t (*IFiIi_t)(int64_t, int64_t, int64_t); typedef int64_t (*IFpIi_t)(void*, int64_t, int64_t); typedef int64_t (*IFppi_t)(void*, void*, int64_t); +typedef int64_t (*IFppI_t)(void*, void*, int64_t); typedef int64_t (*IFppu_t)(void*, void*, uint64_t); typedef int64_t (*IFSIi_t)(void*, int64_t, int64_t); typedef uint64_t (*uFEpW_t)(x64emu_t*, void*, uint16_t); @@ -824,6 +825,7 @@ typedef void* (*pFiiii_t)(int64_t, int64_t, int64_t, int64_t); typedef void* (*pFiiiu_t)(int64_t, int64_t, int64_t, uint64_t); typedef void* (*pFiiuu_t)(int64_t, int64_t, uint64_t, uint64_t); typedef void* (*pFiiup_t)(int64_t, int64_t, uint64_t, void*); +typedef void* (*pFiipi_t)(int64_t, int64_t, void*, int64_t); typedef void* (*pFipii_t)(int64_t, void*, int64_t, int64_t); typedef void* (*pFipip_t)(int64_t, void*, int64_t, void*); typedef void* (*pFippi_t)(int64_t, void*, void*, int64_t); @@ -2278,6 +2280,7 @@ void iFSpL(x64emu_t *emu, uintptr_t fcn) { iFSpL_t fn = (iFSpL_t)fcn; R_RAX=(int void IFiIi(x64emu_t *emu, uintptr_t fcn) { IFiIi_t fn = (IFiIi_t)fcn; R_RAX=(int64_t)fn((int64_t)R_RDI, (int64_t)R_RSI, (int64_t)R_RDX); } void IFpIi(x64emu_t *emu, uintptr_t fcn) { IFpIi_t fn = (IFpIi_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (int64_t)R_RSI, (int64_t)R_RDX); } void IFppi(x64emu_t *emu, uintptr_t fcn) { IFppi_t fn = (IFppi_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (void*)R_RSI, (int64_t)R_RDX); } +void IFppI(x64emu_t *emu, uintptr_t fcn) { IFppI_t fn = (IFppI_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (void*)R_RSI, (int64_t)R_RDX); } void IFppu(x64emu_t *emu, uintptr_t fcn) { IFppu_t fn = (IFppu_t)fcn; R_RAX=(int64_t)fn((void*)R_RDI, (void*)R_RSI, (uint64_t)R_RDX); } void IFSIi(x64emu_t *emu, uintptr_t fcn) { IFSIi_t fn = (IFSIi_t)fcn; R_RAX=(int64_t)fn(io_convert((void*)R_RDI), (int64_t)R_RSI, (int64_t)R_RDX); } void uFEpW(x64emu_t *emu, uintptr_t fcn) { uFEpW_t fn = (uFEpW_t)fcn; R_RAX=(uint64_t)fn(emu, (void*)R_RDI, (uint16_t)R_RSI); } @@ -2680,6 +2683,7 @@ void pFiiii(x64emu_t *emu, uintptr_t fcn) { pFiiii_t fn = (pFiiii_t)fcn; R_RAX=( void pFiiiu(x64emu_t *emu, uintptr_t fcn) { pFiiiu_t fn = (pFiiiu_t)fcn; R_RAX=(uintptr_t)fn((int64_t)R_RDI, (int64_t)R_RSI, (int64_t)R_RDX, (uint64_t)R_RCX); } void pFiiuu(x64emu_t *emu, uintptr_t fcn) { pFiiuu_t fn = (pFiiuu_t)fcn; R_RAX=(uintptr_t)fn((int64_t)R_RDI, (int64_t)R_RSI, (uint64_t)R_RDX, (uint64_t)R_RCX); } void pFiiup(x64emu_t *emu, uintptr_t fcn) { pFiiup_t fn = (pFiiup_t)fcn; R_RAX=(uintptr_t)fn((int64_t)R_RDI, (int64_t)R_RSI, (uint64_t)R_RDX, (void*)R_RCX); } +void pFiipi(x64emu_t *emu, uintptr_t fcn) { pFiipi_t fn = (pFiipi_t)fcn; R_RAX=(uintptr_t)fn((int64_t)R_RDI, (int64_t)R_RSI, (void*)R_RDX, (int64_t)R_RCX); } void pFipii(x64emu_t *emu, uintptr_t fcn) { pFipii_t fn = (pFipii_t)fcn; R_RAX=(uintptr_t)fn((int64_t)R_RDI, (void*)R_RSI, (int64_t)R_RDX, (int64_t)R_RCX); } void pFipip(x64emu_t *emu, uintptr_t fcn) { pFipip_t fn = (pFipip_t)fcn; R_RAX=(uintptr_t)fn((int64_t)R_RDI, (void*)R_RSI, (int64_t)R_RDX, (void*)R_RCX); } void pFippi(x64emu_t *emu, uintptr_t fcn) { pFippi_t fn = (pFippi_t)fcn; R_RAX=(uintptr_t)fn((int64_t)R_RDI, (void*)R_RSI, (void*)R_RDX, (int64_t)R_RCX); } @@ -4087,6 +4091,7 @@ int isSimpleWrapper(wrapper_t fun) { if (fun == &IFiIi) return 1; if (fun == &IFpIi) return 1; if (fun == &IFppi) return 1; + if (fun == &IFppI) return 1; if (fun == &IFppu) return 1; if (fun == &uFipu) return 1; if (fun == &uFuip) return 1; @@ -4421,6 +4426,7 @@ int isSimpleWrapper(wrapper_t fun) { if (fun == &pFiiiu) return 1; if (fun == &pFiiuu) return 1; if (fun == &pFiiup) return 1; + if (fun == &pFiipi) return 1; if (fun == &pFipii) return 1; if (fun == &pFipip) return 1; if (fun == &pFippi) return 1; diff --git a/src/wrapped/generated/wrapper.h b/src/wrapped/generated/wrapper.h index 2ef7b0e4..b240f57c 100644 --- a/src/wrapped/generated/wrapper.h +++ b/src/wrapped/generated/wrapper.h @@ -421,6 +421,7 @@ void iFSpL(x64emu_t *emu, uintptr_t fnc); void IFiIi(x64emu_t *emu, uintptr_t fnc); void IFpIi(x64emu_t *emu, uintptr_t fnc); void IFppi(x64emu_t *emu, uintptr_t fnc); +void IFppI(x64emu_t *emu, uintptr_t fnc); void IFppu(x64emu_t *emu, uintptr_t fnc); void IFSIi(x64emu_t *emu, uintptr_t fnc); void uFEpW(x64emu_t *emu, uintptr_t fnc); @@ -823,6 +824,7 @@ void pFiiii(x64emu_t *emu, uintptr_t fnc); void pFiiiu(x64emu_t *emu, uintptr_t fnc); void pFiiuu(x64emu_t *emu, uintptr_t fnc); void pFiiup(x64emu_t *emu, uintptr_t fnc); +void pFiipi(x64emu_t *emu, uintptr_t fnc); void pFipii(x64emu_t *emu, uintptr_t fnc); void pFipip(x64emu_t *emu, uintptr_t fnc); void pFippi(x64emu_t *emu, uintptr_t fnc); |