NN_MAX_ASSERT

NN_MAX_ASSERT Macro

Syntax

#include <nn/assert.h>

#define NN_MAX_ASSERT(exp,max)

Arguments

Name Description
in exp Value to be tested.
in max Maximum value

Description

Tests whether a value is equal to or less than the specified value.

Stops program execution if exp is greater than max.

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

Revision History

2011/12/16
Initial version.

CONFIDENTIAL