summaryrefslogtreecommitdiff
path: root/PC/clinic
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2015-05-13 19:35:49 -0700
committerSteve Dower <steve.dower@microsoft.com>2015-05-13 19:35:49 -0700
commit71f574f707e8f1872c128838d7c20e492117e9ef (patch)
treeed5391365fa527807267989a86b13d2fffc9d9ed /PC/clinic
parent812bc1b86ba0225d079ba4ced528836b35afbaca (diff)
downloadcpython-git-71f574f707e8f1872c128838d7c20e492117e9ef.tar.gz
Issue #23995: Removes _WCONIO_DEFINED check as the wchar_t console functions are always available.
Diffstat (limited to 'PC/clinic')
-rw-r--r--PC/clinic/msvcrtmodule.c.h34
1 files changed, 1 insertions, 33 deletions
diff --git a/PC/clinic/msvcrtmodule.c.h b/PC/clinic/msvcrtmodule.c.h
index 51923fc9c2..c8e6ed8533 100644
--- a/PC/clinic/msvcrtmodule.c.h
+++ b/PC/clinic/msvcrtmodule.c.h
@@ -222,8 +222,6 @@ msvcrt_getch(PyModuleDef *module, PyObject *Py_UNUSED(ignored))
return return_value;
}
-#if defined(_WCONIO_DEFINED)
-
PyDoc_STRVAR(msvcrt_getwch__doc__,
"getwch($module, /)\n"
"--\n"
@@ -248,8 +246,6 @@ msvcrt_getwch(PyModuleDef *module, PyObject *Py_UNUSED(ignored))
return return_value;
}
-#endif /* defined(_WCONIO_DEFINED) */
-
PyDoc_STRVAR(msvcrt_getche__doc__,
"getche($module, /)\n"
"--\n"
@@ -274,8 +270,6 @@ msvcrt_getche(PyModuleDef *module, PyObject *Py_UNUSED(ignored))
return return_value;
}
-#if defined(_WCONIO_DEFINED)
-
PyDoc_STRVAR(msvcrt_getwche__doc__,
"getwche($module, /)\n"
"--\n"
@@ -300,8 +294,6 @@ msvcrt_getwche(PyModuleDef *module, PyObject *Py_UNUSED(ignored))
return return_value;
}
-#endif /* defined(_WCONIO_DEFINED) */
-
PyDoc_STRVAR(msvcrt_putch__doc__,
"putch($module, char, /)\n"
"--\n"
@@ -328,8 +320,6 @@ exit:
return return_value;
}
-#if defined(_WCONIO_DEFINED)
-
PyDoc_STRVAR(msvcrt_putwch__doc__,
"putwch($module, unicode_char, /)\n"
"--\n"
@@ -356,8 +346,6 @@ exit:
return return_value;
}
-#endif /* defined(_WCONIO_DEFINED) */
-
PyDoc_STRVAR(msvcrt_ungetch__doc__,
"ungetch($module, char, /)\n"
"--\n"
@@ -388,8 +376,6 @@ exit:
return return_value;
}
-#if defined(_WCONIO_DEFINED)
-
PyDoc_STRVAR(msvcrt_ungetwch__doc__,
"ungetwch($module, unicode_char, /)\n"
"--\n"
@@ -416,8 +402,6 @@ exit:
return return_value;
}
-#endif /* defined(_WCONIO_DEFINED) */
-
#if defined(_DEBUG)
PyDoc_STRVAR(msvcrt_CrtSetReportFile__doc__,
@@ -556,22 +540,6 @@ exit:
return return_value;
}
-#ifndef MSVCRT_GETWCH_METHODDEF
- #define MSVCRT_GETWCH_METHODDEF
-#endif /* !defined(MSVCRT_GETWCH_METHODDEF) */
-
-#ifndef MSVCRT_GETWCHE_METHODDEF
- #define MSVCRT_GETWCHE_METHODDEF
-#endif /* !defined(MSVCRT_GETWCHE_METHODDEF) */
-
-#ifndef MSVCRT_PUTWCH_METHODDEF
- #define MSVCRT_PUTWCH_METHODDEF
-#endif /* !defined(MSVCRT_PUTWCH_METHODDEF) */
-
-#ifndef MSVCRT_UNGETWCH_METHODDEF
- #define MSVCRT_UNGETWCH_METHODDEF
-#endif /* !defined(MSVCRT_UNGETWCH_METHODDEF) */
-
#ifndef MSVCRT_CRTSETREPORTFILE_METHODDEF
#define MSVCRT_CRTSETREPORTFILE_METHODDEF
#endif /* !defined(MSVCRT_CRTSETREPORTFILE_METHODDEF) */
@@ -583,4 +551,4 @@ exit:
#ifndef MSVCRT_SET_ERROR_MODE_METHODDEF
#define MSVCRT_SET_ERROR_MODE_METHODDEF
#endif /* !defined(MSVCRT_SET_ERROR_MODE_METHODDEF) */
-/*[clinic end generated code: output=72468bb32006a11b input=a9049054013a1b77]*/
+/*[clinic end generated code: output=16613d3119a1fd44 input=a9049054013a1b77]*/