diff options
| author | Alexander Lantsev <aunsane@gmail.com> | 2015-04-24 08:21:28 +0000 |
|---|---|---|
| committer | Alexander Lantsev <aunsane@gmail.com> | 2015-04-24 08:21:28 +0000 |
| commit | 690f5e6d29d1c85c4be72638eb22843964c2f512 (patch) | |
| tree | 47c50956fef107bb1004f9389b817cbe3626d919 /plugins/!Deprecated/Clist_mw/src/commonheaders.cpp | |
| parent | e7112d3e58f97fa0630e0afa04e27796cdf3ce38 (diff) | |
All non-working stuff moved from trunk
git-svn-id: http://svn.miranda-ng.org/main/trunk@13071 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/!Deprecated/Clist_mw/src/commonheaders.cpp')
| -rw-r--r-- | plugins/!Deprecated/Clist_mw/src/commonheaders.cpp | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/plugins/!Deprecated/Clist_mw/src/commonheaders.cpp b/plugins/!Deprecated/Clist_mw/src/commonheaders.cpp deleted file mode 100644 index c76992e096..0000000000 --- a/plugins/!Deprecated/Clist_mw/src/commonheaders.cpp +++ /dev/null @@ -1,29 +0,0 @@ -#include "commonheaders.h"
-
-#define SAFE_PTR(a) a?(IsBadReadPtr(a,1)?a = NULL:a):a
-
-int __cdecl MyStrCmp (const char *a, const char *b)
-{
- SAFE_PTR(a);
- SAFE_PTR(b);
- if ( !(a && b)) return a != b;
- return (strcmp(a,b));
-}
-
-DWORD exceptFunction(LPEXCEPTION_POINTERS EP)
-{
- //printf("1 "); // printed first
- char buf[4096];
-
-
- mir_snprintf(buf, SIZEOF(buf), "\r\nExceptCode: %x\r\nExceptFlags: %x\r\nExceptAddress: %p\r\n",
- EP->ExceptionRecord->ExceptionCode,
- EP->ExceptionRecord->ExceptionFlags,
- EP->ExceptionRecord->ExceptionAddress
- );
- OutputDebugStringA(buf);
- MessageBoxA(0,buf,"clist_mw Exception",0);
-
-
- return EXCEPTION_EXECUTE_HANDLER;
-}
|
