From f424a18112032cf61d2871a6b91a5af607c171ae Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 20 Jul 2012 16:21:49 +0000 Subject: CryptoPP: changed folder structure git-svn-id: http://svn.miranda-ng.org/main/trunk@1083 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/CryptoPP/src/mmi.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 plugins/CryptoPP/src/mmi.h (limited to 'plugins/CryptoPP/src/mmi.h') diff --git a/plugins/CryptoPP/src/mmi.h b/plugins/CryptoPP/src/mmi.h new file mode 100644 index 0000000000..1ea57eb621 --- /dev/null +++ b/plugins/CryptoPP/src/mmi.h @@ -0,0 +1,22 @@ +#ifndef __MMI_H__ +#define __MMI_H__ +/* +void *m_alloc(size_t); +void m_free(void *); +void *m_realloc(void *,size_t); +char *m_strdup(const char *); + +void *operator new(size_t sz); +void operator delete(void *p); +void *operator new[](size_t size); +void operator delete[](void * p); +*/ + +#define SAFE_INIT(t,p) t p=NULL; +#define SAFE_FREE(p) safe_free((void **)&(p)); +#define SAFE_DELETE(p) safe_delete((void **)&(p)); + +void __fastcall safe_free(void** p); +void __fastcall safe_delete(void** p); + +#endif -- cgit v1.2.3