We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 597ac20 commit bf6a9b1Copy full SHA for bf6a9b1
Include/sysmodule.h
@@ -43,6 +43,15 @@ FILE *PySys_GetFile Py_PROTO((char *, FILE *));
43
void PySys_SetArgv Py_PROTO((int, char **));
44
void PySys_SetPath Py_PROTO((char *));
45
46
+#ifdef HAVE_STDARG_PROTOTYPES
47
+void PySys_WriteStdout(const char *format, ...);
48
+void PySys_WriteStderr(const char *format, ...);
49
+#else
50
+/* Better to have no prototypes at all for varargs functions in this case */
51
+void PySys_WriteStdout();
52
+void PySys_WriteStderr();
53
+#endif
54
+
55
extern DL_IMPORT(PyObject *) _PySys_TraceFunc, *_PySys_ProfileFunc;
56
extern DL_IMPORT(int) _PySys_CheckInterval;
57
0 commit comments