From 05408f918c29be787b0e8cfa4dd71039b94f30e7 Mon Sep 17 00:00:00 2001 From: nick black Date: Fri, 8 May 2020 22:06:51 -0400 Subject: [PATCH] python: remove raw notcurses_getc() wrapper #584 --- python/src/notcurses/build_notcurses.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/python/src/notcurses/build_notcurses.py b/python/src/notcurses/build_notcurses.py index 90612461e..ff2e05cdf 100644 --- a/python/src/notcurses/build_notcurses.py +++ b/python/src/notcurses/build_notcurses.py @@ -20,10 +20,8 @@ typedef struct ncinput { uint64_t seqnum; // Monotonically increasing input event counter } ncinput; bool nckey_mouse_p(char32_t r); -typedef struct { - unsigned long int __val[(1024 / (8 * 8))]; //sizeof (unsigned long int)))]; -} sigset_t; -char32_t notcurses_getc(struct notcurses* n, const struct timespec* ts, sigset_t* sigmask, ncinput* ni); +// sigset_t differs from system to system, annoying +// char32_t notcurses_getc(struct notcurses* n, const struct timespec* ts, sigset_t* sigmask, ncinput* ni); char32_t notcurses_getc_nblock(struct notcurses* n, ncinput* ni); char32_t notcurses_getc_blocking(struct notcurses* n, ncinput* ni); int notcurses_inputready_fd(struct notcurses* n);