diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2022-10-29 22:32:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-29 22:32:47 +0200 |
| commit | 0e47d1269cc660d2b1451e76375b2d3545ce66f4 (patch) | |
| tree | 27c958e5ef3cd147625112a82626624d51fd6fe5 /src/wrapped/generated/wrappedtbbmallocproxytypes.h | |
| parent | 7dc5359c2b10521696e7d251627eff029d53ee28 (diff) | |
| download | box64-0e47d1269cc660d2b1451e76375b2d3545ce66f4.tar.gz box64-0e47d1269cc660d2b1451e76375b2d3545ce66f4.zip | |
Malloc override (#437)
* Add some malloc override mecanism, but missing c++ function overriding * Add c++ new/delete redirection too * Added support for libtbbmalloc_proxy
Diffstat (limited to 'src/wrapped/generated/wrappedtbbmallocproxytypes.h')
| -rw-r--r-- | src/wrapped/generated/wrappedtbbmallocproxytypes.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/wrapped/generated/wrappedtbbmallocproxytypes.h b/src/wrapped/generated/wrappedtbbmallocproxytypes.h new file mode 100644 index 00000000..f26554a8 --- /dev/null +++ b/src/wrapped/generated/wrappedtbbmallocproxytypes.h @@ -0,0 +1,30 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.1.0.16) * + *******************************************************************/ +#ifndef __wrappedtbbmallocproxyTYPES_H_ +#define __wrappedtbbmallocproxyTYPES_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 void (*vFP_t)(void*); +typedef void* (*pFL_t)(uintptr_t); +typedef void (*vFpp_t)(void*, void*); +typedef void* (*pFLp_t)(uintptr_t, void*); + +#define SUPER() ADDED_FUNCTIONS() \ + GO(_ZdlPv, vFp_t) \ + GO(_ZdaPv, vFP_t) \ + GO(_Znam, pFL_t) \ + GO(_Znwm, pFL_t) \ + GO(_ZdaPvRKSt9nothrow_t, vFpp_t) \ + GO(_ZdlPvRKSt9nothrow_t, vFpp_t) \ + GO(_ZnamRKSt9nothrow_t, pFLp_t) \ + GO(_ZnwmRKSt9nothrow_t, pFLp_t) + +#endif // __wrappedtbbmallocproxyTYPES_H_ |