12345678910111213141516171819202122 |
- #ifndef BASE_TEST_MALLOC_WRAPPER_H_
- #define BASE_TEST_MALLOC_WRAPPER_H_
- #include <stddef.h>
- #if defined(WIN32)
- #define MALLOC_WRAPPER_EXPORT __declspec(dllexport)
- #else
- #define MALLOC_WRAPPER_EXPORT __attribute__((visibility("default")))
- #endif
- extern "C" MALLOC_WRAPPER_EXPORT void* MallocWrapper(size_t size);
- #endif
|