Flutter Engine
The Flutter Engine
Macros
LexUtil.h File Reference
#include <cstdlib>

Go to the source code of this file.

Macros

#define INVALID   -1
 
#define SK_ABORT(...)   (fprintf(stderr, __VA_ARGS__), abort())
 
#define SkASSERT(x)    (void)((x) || (SK_ABORT("failed SkASSERT(%s): %s:%d\n", #x, __FILE__, __LINE__), 0))
 
#define SkUNREACHABLE   (SK_ABORT("unreachable"))
 

Macro Definition Documentation

◆ INVALID

#define INVALID   -1

Definition at line 13 of file LexUtil.h.

◆ SK_ABORT

#define SK_ABORT (   ...)    (fprintf(stderr, __VA_ARGS__), abort())

Definition at line 15 of file LexUtil.h.

◆ SkASSERT

#define SkASSERT (   x)     (void)((x) || (SK_ABORT("failed SkASSERT(%s): %s:%d\n", #x, __FILE__, __LINE__), 0))

Definition at line 16 of file LexUtil.h.

◆ SkUNREACHABLE

#define SkUNREACHABLE   (SK_ABORT("unreachable"))

Definition at line 18 of file LexUtil.h.