From 657e9caeeac2b54250d697b83f10c2f106353538 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Thu, 21 Oct 2010 13:42:28 +0000 Subject: Issue #10089: Add support for arbitrary -X options on the command-line. They can be retrieved through a new attribute `sys._xoptions`. --- Include/sysmodule.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Include/sysmodule.h') diff --git a/Include/sysmodule.h b/Include/sysmodule.h index e43f378f6e..c00901b179 100644 --- a/Include/sysmodule.h +++ b/Include/sysmodule.h @@ -27,6 +27,9 @@ PyAPI_FUNC(void) PySys_AddWarnOption(const wchar_t *); PyAPI_FUNC(void) PySys_AddWarnOptionUnicode(PyObject *); PyAPI_FUNC(int) PySys_HasWarnOptions(void); +PyAPI_FUNC(void) PySys_AddXOption(const wchar_t *); +PyAPI_FUNC(PyObject *) PySys_GetXOptions(void); + #ifdef __cplusplus } #endif -- cgit v1.2.1