summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorAN Long <aisk@users.noreply.github.com>2023-09-21 15:44:24 (GMT)
committerGitHub <noreply@github.com>2023-09-21 15:44:24 (GMT)
commit869f177b5cd5c2a2a015e4658cbbb0e9566210f7 (patch)
tree4b2342e696063a9866ece932fcdddd52637d7cfb /PC
parentd4cea794a7b9b745817d2bd982d35412aef04710 (diff)
downloadcpython-869f177b5cd5c2a2a015e4658cbbb0e9566210f7.zip
cpython-869f177b5cd5c2a2a015e4658cbbb0e9566210f7.tar.gz
cpython-869f177b5cd5c2a2a015e4658cbbb0e9566210f7.tar.bz2
gh-74481: Add missing debug function docs and constants to msvcrt (GH-109650)
Diffstat (limited to 'PC')
-rw-r--r--PC/msvcrtmodule.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/PC/msvcrtmodule.c b/PC/msvcrtmodule.c
index 9a34621..5ff7032 100644
--- a/PC/msvcrtmodule.c
+++ b/PC/msvcrtmodule.c
@@ -615,6 +615,10 @@ exec_module(PyObject* m)
INSERTPTR(m, "CRTDBG_FILE_STDERR", _CRTDBG_FILE_STDERR);
INSERTPTR(m, "CRTDBG_FILE_STDOUT", _CRTDBG_FILE_STDOUT);
INSERTPTR(m, "CRTDBG_REPORT_FILE", _CRTDBG_REPORT_FILE);
+ INSERTINT(m, "OUT_TO_DEFAULT", _OUT_TO_DEFAULT);
+ INSERTINT(m, "OUT_TO_STDERR", _OUT_TO_STDERR);
+ INSERTINT(m, "OUT_TO_MSGBOX", _OUT_TO_MSGBOX);
+ INSERTINT(m, "REPORT_ERRMODE", _REPORT_ERRMODE);
#endif
#undef INSERTINT