Merge branch 'master' of github.com:dankamongmen/notcurses

pull/173/head
nick black 5 years ago
commit 5459b4a8a7
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -338,9 +338,9 @@ wchar_supppuab_p(wchar_t w){
// masked and unmasked per ppoll(2). It should generally contain all signals.
// Returns a single Unicode code point, or (wchar_t)-1 on error. 'sigmask' may
// be NULL.
int notcurses_getc(struct notcurses* n, const struct timespec* ts, sigset_t* sigmask);
wchar_t notcurses_getc(struct notcurses* n, const struct timespec* ts, sigset_t* sigmask);
static inline int
static inline wchar_t
notcurses_getc_nblock(struct notcurses* n){
sigset_t sigmask;
sigfillset(&sigmask);

@ -228,9 +228,9 @@ wchar_supppuab_p(wchar_t w){
// masked and unmasked per ppoll(2). It should generally contain all signals.
// Returns a single Unicode code point, or (wchar_t)-1 on error. 'sigmask' may
// be NULL.
API int notcurses_getc(struct notcurses* n, const struct timespec* ts, sigset_t* sigmask);
API wchar_t notcurses_getc(struct notcurses* n, const struct timespec* ts, sigset_t* sigmask);
static inline int
static inline wchar_t
notcurses_getc_nblock(struct notcurses* n){
sigset_t sigmask;
sigfillset(&sigmask);

Loading…
Cancel
Save