NN_POINTER_ASSERT

NN_POINTER_ASSERT Macro

Syntax

#include <nn/assert.h>

#define NN_POINTER_ASSERT(p)

Arguments

Name Description
in p Value to be tested.

Description

Tests whether the specified pointer has a valid address.

Stops program execution if exp is not a valid address as a pointer. Even an invalid address may sometimes pass this test because this test is not that strict.

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

Revision History

2011/12/16
Initial version.

CONFIDENTIAL