Notcurses 3.0.13
a blingful library for TUIs and character graphics
Loading...
Searching...
No Matches
_helpers.hh File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ncpp
 

Macros

#define NCPP_LIKELY(expr)   (__builtin_expect ((expr) != 0, 1))
 
#define NCPP_UNLIKELY(expr)   (__builtin_expect ((expr) != 0, 0))
 
#define NCPP_API_EXPORT   __attribute__((visibility ("default")))
 
#define NCPP_API_LOCAL   __attribute__((visibility ("hidden")))
 

Macro Definition Documentation

◆ NCPP_API_EXPORT

#define NCPP_API_EXPORT   __attribute__((visibility ("default")))

Definition at line 9 of file _helpers.hh.

◆ NCPP_API_LOCAL

#define NCPP_API_LOCAL   __attribute__((visibility ("hidden")))

Definition at line 10 of file _helpers.hh.

◆ NCPP_LIKELY

#define NCPP_LIKELY (   expr)    (__builtin_expect ((expr) != 0, 1))

Definition at line 6 of file _helpers.hh.

◆ NCPP_UNLIKELY

#define NCPP_UNLIKELY (   expr)    (__builtin_expect ((expr) != 0, 0))

Definition at line 7 of file _helpers.hh.