NN_NOT_EQUAL_ASSERT

NN_NOT_EQUAL_ASSERT Macro

Syntax

#include <nn/assert.h>

#define NN_NOT_EQUAL_ASSERT(exp,equ)

Parameters

Name Description
in exp Value to be tested.
in equ Value that should not match.

Description

Tests whether a value is not equal to the specified value.

Stops program execution if exp and equ are equal.

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

Revision History

2011/12/16
Initial version.

CONFIDENTIAL