We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5addb78 commit 34583e0Copy full SHA for 34583e0
Include/py_curses.h
@@ -108,6 +108,13 @@ static void **PyCurses_API;
108
static const char catchall_ERR[] = "curses function returned ERR";
109
static const char catchall_NULL[] = "curses function returned NULL";
110
111
+#if defined(CURSES_MODULE) || defined(CURSES_PANEL_MODULE)
112
+/* Error messages shared by the curses package */
113
+# define CURSES_ERROR_FORMAT "%s() returned %s"
114
+# define CURSES_ERROR_VERBOSE_FORMAT "%s() (called by %s()) returned %s"
115
+# define CURSES_ERROR_MUST_CALL_FORMAT "must call %s() first"
116
+#endif
117
+
118
#ifdef __cplusplus
119
}
120
#endif
0 commit comments