figments: figment: add F_LIKELY, F_UNLIKELY macros
This commit is contained in:
parent
160cbc5ea9
commit
1426b1524b
@ -3,6 +3,9 @@
|
||||
#include <functional>
|
||||
#include <ArduinoLog.h>
|
||||
|
||||
#define F_LIKELY(x) __builtin_expect(!!(x), true)
|
||||
#define F_UNLIKELY(x) __builtin_expect(!!(x), false)
|
||||
|
||||
class Display;
|
||||
class InputEvent;
|
||||
class InputSource;
|
||||
|
Loading…
Reference in New Issue
Block a user