WPILibC++ 2025.1.1
Loading...
Searching...
No Matches
psnip_debug_trap.h File Reference
#include <signal.h>

Go to the source code of this file.

Macros

#define psnip_trap()
 
#define PSNIP_DBG_LIKELY(expr)
 
#define psnip_dbg_assert(expr)
 

Macro Definition Documentation

◆ psnip_dbg_assert

#define psnip_dbg_assert ( expr)
Value:
do { \
if (!PSNIP_DBG_LIKELY(expr)) { \
psnip_trap(); \
} \
} while (0)
#define PSNIP_DBG_LIKELY(expr)
Definition psnip_debug_trap.h:70

◆ PSNIP_DBG_LIKELY

#define PSNIP_DBG_LIKELY ( expr)
Value:
(!!(expr))

◆ psnip_trap

#define psnip_trap ( )
Value:
raise(SIGABRT)