Native Client

logging.h File Reference

This file defines two macro asserts. More...

Include dependency graph for logging.h:
This graph shows which files directly or indirectly include this file:


#define PP_DCHECK(a)   assert(a)
#define PP_NOTREACHED()   assert(false)

Detailed Description

This file defines two macro asserts.

Define Documentation

#define PP_DCHECK (   a)    assert(a)

This macro asserts that 'a' evaluates to true.

In debug mode, this macro will crash the program if the assertion evaluates to false. It (typically) has no effect in release mode.

#define PP_NOTREACHED ( )    assert(false)

This macro asserts false in debug builds.

It's used in code paths that you don't expect to execute.


 if (!pointer) {
 // Pointer wasn't valid! This shouldn't happen.
 // Do stuff to the pointer, since you know it's valid.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.