/src/cpython/Modules/clinic/_sysconfig.c.h
Line | Count | Source |
1 | | /*[clinic input] |
2 | | preserve |
3 | | [clinic start generated code]*/ |
4 | | |
5 | | PyDoc_STRVAR(_sysconfig_config_vars__doc__, |
6 | | "config_vars($module, /)\n" |
7 | | "--\n" |
8 | | "\n" |
9 | | "Returns a dictionary containing build variables intended to be exposed by sysconfig."); |
10 | | |
11 | | #define _SYSCONFIG_CONFIG_VARS_METHODDEF \ |
12 | | {"config_vars", (PyCFunction)_sysconfig_config_vars, METH_NOARGS, _sysconfig_config_vars__doc__}, |
13 | | |
14 | | static PyObject * |
15 | | _sysconfig_config_vars_impl(PyObject *module); |
16 | | |
17 | | static PyObject * |
18 | | _sysconfig_config_vars(PyObject *module, PyObject *Py_UNUSED(ignored)) |
19 | 0 | { |
20 | 0 | return _sysconfig_config_vars_impl(module); |
21 | 0 | } |
22 | | |
23 | | #if defined(MS_WINDOWS) |
24 | | |
25 | | PyDoc_STRVAR(_sysconfig_get_platform__doc__, |
26 | | "get_platform($module, /)\n" |
27 | | "--\n" |
28 | | "\n" |
29 | | "Return a string that identifies the current platform."); |
30 | | |
31 | | #define _SYSCONFIG_GET_PLATFORM_METHODDEF \ |
32 | | {"get_platform", (PyCFunction)_sysconfig_get_platform, METH_NOARGS, _sysconfig_get_platform__doc__}, |
33 | | |
34 | | static PyObject * |
35 | | _sysconfig_get_platform_impl(PyObject *module); |
36 | | |
37 | | static PyObject * |
38 | | _sysconfig_get_platform(PyObject *module, PyObject *Py_UNUSED(ignored)) |
39 | | { |
40 | | return _sysconfig_get_platform_impl(module); |
41 | | } |
42 | | |
43 | | #endif /* defined(MS_WINDOWS) */ |
44 | | |
45 | | #ifndef _SYSCONFIG_GET_PLATFORM_METHODDEF |
46 | | #define _SYSCONFIG_GET_PLATFORM_METHODDEF |
47 | | #endif /* !defined(_SYSCONFIG_GET_PLATFORM_METHODDEF) */ |
48 | | /*[clinic end generated code: output=558531e148f92320 input=a9049054013a1b77]*/ |