pleyo.com

/home/nef/EnvHaineko/haineko/home/developer/Doduo_sandlabs/BAL/OWBAL/Skeletons/Types/Assertions.t File Reference

Assertions description Repository informations : More...

#include "BALBase.h"
#include "Platform.h"
#include <inttypes.h>

Defines

#define ASSERTIONS_DISABLED_DEFAULT   0
#define ASSERT_DISABLED   ASSERTIONS_DISABLED_DEFAULT
#define ASSERT_ARG_DISABLED   ASSERTIONS_DISABLED_DEFAULT
#define FATAL_DISABLED   ASSERTIONS_DISABLED_DEFAULT
#define ERROR_DISABLED   ASSERTIONS_DISABLED_DEFAULT
#define LOG_DISABLED   ASSERTIONS_DISABLED_DEFAULT
#define WTF_PRETTY_FUNCTION   __FUNCTION__
#define WTF_ATTRIBUTE_PRINTF(formatStringArgument, extraArguments)
#define CRASH()   *(int *)(uintptr_t)0xbbadbeef = 0
#define ASSERT(assertion)
#define ASSERT_WITH_MESSAGE(assertion,...)
#define ASSERT_NOT_REACHED()
#define ASSERT_ARG(argName, assertion)
#define COMPILE_ASSERT(exp, name)   typedef int dummy##name [(exp) ? 1;
#define LOG_ERROR(...)   WTFReportError(__FILE__, __LINE__, WTF_PRETTY_FUNCTION, __VA_ARGS__)
#define LOG(channel,...)   WTFLog(&JOIN_LOG_CHANNEL_WITH_PREFIX(LOG_CHANNEL_PREFIX, channel), __VA_ARGS__)
#define JOIN_LOG_CHANNEL_WITH_PREFIX(prefix, channel)   JOIN_LOG_CHANNEL_WITH_PREFIX_LEVEL_2(prefix, channel)
#define JOIN_LOG_CHANNEL_WITH_PREFIX_LEVEL_2(prefix, channel)   prefix ## channel
#define LOG_VERBOSE(channel,...)   WTFLogVerbose(__FILE__, __LINE__, WTF_PRETTY_FUNCTION, &JOIN_LOG_CHANNEL_WITH_PREFIX(LOG_CHANNEL_PREFIX, channel), __VA_ARGS__)


Detailed Description

Assertions description Repository informations :


Define Documentation

#define ASSERTIONS_DISABLED_DEFAULT   0

#define ASSERT_DISABLED   ASSERTIONS_DISABLED_DEFAULT

#define ASSERT_ARG_DISABLED   ASSERTIONS_DISABLED_DEFAULT

#define FATAL_DISABLED   ASSERTIONS_DISABLED_DEFAULT

#define ERROR_DISABLED   ASSERTIONS_DISABLED_DEFAULT

#define LOG_DISABLED   ASSERTIONS_DISABLED_DEFAULT

#define WTF_PRETTY_FUNCTION   __FUNCTION__

#define WTF_ATTRIBUTE_PRINTF ( formatStringArgument,
extraArguments   ) 

 
#define CRASH (  )     *(int *)(uintptr_t)0xbbadbeef = 0

#define ASSERT ( assertion   ) 

Value:

do \
while (0)

#define ASSERT_WITH_MESSAGE ( assertion,
...   ) 

Value:

do \
while (0)

 
#define ASSERT_NOT_REACHED (  ) 

Value:

do { \
    WTFReportAssertionFailure(__FILE__, __LINE__, WTF_PRETTY_FUNCTION, 0); \
    CRASH(); \
} while (0)

#define ASSERT_ARG ( argName,
assertion   ) 

Value:

do \
while (0)

#define COMPILE_ASSERT ( exp,
name   )     typedef int dummy##name [(exp) ? 1;

#define LOG_ERROR ( ...   )     WTFReportError(__FILE__, __LINE__, WTF_PRETTY_FUNCTION, __VA_ARGS__)

#define LOG ( channel,
...   )     WTFLog(&JOIN_LOG_CHANNEL_WITH_PREFIX(LOG_CHANNEL_PREFIX, channel), __VA_ARGS__)

#define JOIN_LOG_CHANNEL_WITH_PREFIX ( prefix,
channel   )     JOIN_LOG_CHANNEL_WITH_PREFIX_LEVEL_2(prefix, channel)

#define JOIN_LOG_CHANNEL_WITH_PREFIX_LEVEL_2 ( prefix,
channel   )     prefix ## channel

#define LOG_VERBOSE ( channel,
...   )     WTFLogVerbose(__FILE__, __LINE__, WTF_PRETTY_FUNCTION, &JOIN_LOG_CHANNEL_WITH_PREFIX(LOG_CHANNEL_PREFIX, channel), __VA_ARGS__)


Generated on Mon Jun 30 16:22:03 2008 for Origyn Web Browser by Doxygen 1.5.5

pleyo.com
pleyo.com