2 #include "../acl_cpp_define.hpp" 6 # if defined(_WIN32) || defined(_WIN64) 8 void*
operator new(
size_t n);
9 void operator delete(
void *p);
13 void*
operator new(
size_t n)
throw (std::bad_alloc);
14 void operator delete(
void *p)
throw();
17 #elif defined(ACL_CPP_DEBUG_MEM) 29 void*
operator new(size_t,
const char*,
const char*, int)
throw();
30 void operator delete(
void*)
throw();
31 void operator delete(
void*, size_t)
throw();
33 #define NEW new(__FILE__, __FUNCTION__, __LINE__) 40 ACL_CPP_API void mem_checker_start(
const char* logfile = NULL);
63 const char* funcname,
int lineno);
74 const char* funcname,
int lineno);
ACL_CPP_API void acl_delete(void *ptr, const char *filename, const char *funcname, int lineno)
ACL_CPP_API void * acl_new(size_t size, const char *filename, const char *funcname, int lineno)
ACL_CPP_API void acl_slice_init(void)