NN_ASSERTMSG

NN_ASSERTMSG Macro

Syntax

#include <nn/assert.h>

#define NN_ASSERTMSG(exp,...)

Arguments

Name Description
in exp Condition to be tested.
in ... The message and parameters displayed when conditions are not met.

Description

Tests whether conditions are satisfied. Displays the specified message when conditions are not satisfied.

Stops program execution and displays the specified message if exp is FALSE.

For common specifications of assert-type macros, see NN_ASSERT.

Revision History

2011/12/16
Initial version.

CONFIDENTIAL