CoronaAssert.h

Type C header
Revision Release 2024.3703
Keywords iOS, Solar2D Native, C, CoronaAssert.h
See also Corona C Functions

Overview

CoronaAssert.h contains helpful assertion macros for your C-based code. These macros are all prefixed with CORONA_.

Note

The macro CORONA_DEBUG must be defined to enable the assertions. By default, the macros are no-ops.

Macros

CORONA_ASSERT_NOT_REACHED()