ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

assert.h
Go to the documentation of this file.
00001 
00006 #ifndef __ASSERT_H_
00007 #define __ASSERT_H_
00008 
00009 #include <crtdefs.h>
00010 
00011 #ifdef NDEBUG
00012 
00013 #ifndef assert
00014 #define assert(_Expression) ((void)0)
00015 #endif
00016 
00017 #else /* !NDEBUG */
00018 
00019 #ifdef __cplusplus
00020 extern "C" {
00021 #endif
00022 
00023   _CRTIMP void __cdecl _assert(const char *_Message,const char *_File,unsigned _Line);
00024   _CRTIMP void __cdecl _wassert(const wchar_t *_Message,const wchar_t *_File,unsigned _Line);
00025 
00026 #ifdef __cplusplus
00027 }
00028 #endif
00029 
00030 #ifndef assert
00031 #define assert(_Expression) (void)((!!(_Expression)) || (_assert(#_Expression,__FILE__,__LINE__),0))
00032 #endif
00033 
00034 #ifndef wassert
00035 #define wassert(_Expression) (void)((!!(_Expression)) || (_wassert(_CRT_WIDE(#_Expression),_CRT_WIDE(__FILE__),__LINE__),0))
00036 #endif
00037 
00038 #endif
00039 
00040 #endif

Generated on Sun May 27 2012 04:28:46 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.