NN_ALIGN_ASSERT

NN_ALIGN_ASSERT Macro

Syntax

#include <nn/assert.h>

#define NN_ALIGN_ASSERT(exp,align)

Arguments

Name Description
in exp Value to be tested.
in align The alignment value to be satisfied.

Description

Tests whether the specified alignment conditions are satisfied.

Stops program execution if the value of exp does not observe the alignment specified by align.

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

Revision History

2011/12/16
Initial version.

CONFIDENTIAL