- Code/Resource
- Windows Develop
- Linux-Unix program
- Internet-Socket-Network
- Web Server
- Browser Client
- Ftp Server
- Ftp Client
- Browser Plugins
- Proxy Server
- Email Server
- Email Client
- WEB Mail
- Firewall-Security
- Telnet Server
- Telnet Client
- ICQ-IM-Chat
- Search Engine
- Sniffer Package capture
- Remote Control
- xml-soap-webservice
- P2P
- WEB(ASP,PHP,...)
- TCP/IP Stack
- SNMP
- Grid Computing
- SilverLight
- DNS
- Cluster Service
- Network Security
- Communication-Mobile
- Game Program
- Editor
- Multimedia program
- Graph program
- Compiler program
- Compress-Decompress algrithms
- Crypt_Decrypt algrithms
- Mathimatics-Numerical algorithms
- MultiLanguage
- Disk/Storage
- Java Develop
- assembly language
- Applications
- Other systems
- Database system
- Embeded-SCM Develop
- FlashMX/Flex
- source in ebook
- Delphi VCL
- OS Develop
- MiddleWare
- MPI
- MacOS develop
- LabView
- ELanguage
- Software/Tools
- E-Books
- Artical/Document
ASSERT.H
Package: MSDN_VC98.zip [view]
Upload User: bangxh
Upload Date: 2007-01-31
Package Size: 42235k
Code Size: 1k
Category:
Windows Develop
Development Platform:
Visual C++
- //+---------------------------------------------------------------------------
- //
- // Microsoft Windows
- // Copyright 1992 - 1997 Microsoft Corporation.
- //
- // File: assert.h
- //
- // Contents: private definition of assert, used by NT SDK OLE2 samples
- //
- // History: 8-19-94 stevebl Created
- //
- //----------------------------------------------------------------------------
- /*
- * Conditional macro definition for function calling type and variable type
- * qualifiers.
- */
- #if ( (_MSC_VER >= 800) && (_M_IX86 >= 300) )
- /*
- * Definitions for MS C8-32 (386/486) compiler
- */
- #ifndef _CRTAPI1
- #define _CRTAPI1 __cdecl
- #endif
- #ifndef _CRTAPI2
- #define _CRTAPI2 __cdecl
- #endif
- #else
- /*
- * Other compilers (e.g., MIPS)
- */
- #ifndef _CRTAPI1
- #define _CRTAPI1
- #endif
- #ifndef _CRTAPI2
- #define _CRTAPI2
- #endif
- #endif
- #undef assert
- #ifdef NDEBUG
- #define assert(exp) ((void)0)
- #else
- #ifdef __cplusplus
- extern "C" {
- #endif
- void _CRTAPI1
- PopUpAssert(
- void * szFile,
- int iLine,
- void * szMessage);
- #ifdef __cplusplus
- }
- #endif
- #define assert(exp) (void)( (exp) || (PopUpAssert(__FILE__, __LINE__, #exp), 0) )
- #define _assert(exp, file, line) PopUpAssert(file, line, exp)
- #endif /* NDEBUG */