summaryrefslogtreecommitdiffstats
path: root/Modules/clinic
diff options
context:
space:
mode:
authorSam Gross <colesbury@gmail.com>2023-10-04 22:50:29 (GMT)
committerGitHub <noreply@github.com>2023-10-04 22:50:29 (GMT)
commitcf6f23b0e3cdef33f23967cf954a2ca4d1fa6528 (patch)
tree81af760a78ee03470d1fb1abbd13d35a24ad6cc3 /Modules/clinic
parent80dc39e1dc2abc809f448cba5d2c5b9c1c631e11 (diff)
downloadcpython-cf6f23b0e3cdef33f23967cf954a2ca4d1fa6528.zip
cpython-cf6f23b0e3cdef33f23967cf954a2ca4d1fa6528.tar.gz
cpython-cf6f23b0e3cdef33f23967cf954a2ca4d1fa6528.tar.bz2
gh-88402: Add new sysconfig variables on Windows (GH-110049)
Co-authored-by: Filipe LaĆ­ns <filipe.lains@gmail.com>
Diffstat (limited to 'Modules/clinic')
-rw-r--r--Modules/clinic/_sysconfig.c.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/Modules/clinic/_sysconfig.c.h b/Modules/clinic/_sysconfig.c.h
new file mode 100644
index 0000000..eb3d396
--- /dev/null
+++ b/Modules/clinic/_sysconfig.c.h
@@ -0,0 +1,22 @@
+/*[clinic input]
+preserve
+[clinic start generated code]*/
+
+PyDoc_STRVAR(_sysconfig_config_vars__doc__,
+"config_vars($module, /)\n"
+"--\n"
+"\n"
+"Returns a dictionary containing build variables intended to be exposed by sysconfig.");
+
+#define _SYSCONFIG_CONFIG_VARS_METHODDEF \
+ {"config_vars", (PyCFunction)_sysconfig_config_vars, METH_NOARGS, _sysconfig_config_vars__doc__},
+
+static PyObject *
+_sysconfig_config_vars_impl(PyObject *module);
+
+static PyObject *
+_sysconfig_config_vars(PyObject *module, PyObject *Py_UNUSED(ignored))
+{
+ return _sysconfig_config_vars_impl(module);
+}
+/*[clinic end generated code: output=25d395cf02eced1f input=a9049054013a1b77]*/