diff options
author | Petr Viktorin <encukou@gmail.com> | 2024-02-12 17:13:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-12 17:13:10 (GMT) |
commit | 879f4546bfbc9c47ef228e7c3d2f126f3d8d64bf (patch) | |
tree | 967b09783ee2a988eb605f9c905eedb12b691732 /Modules/_testcapi/parts.h | |
parent | c39272e143b346bd6a3c04ca4fbf299163888277 (diff) | |
download | cpython-879f4546bfbc9c47ef228e7c3d2f126f3d8d64bf.zip cpython-879f4546bfbc9c47ef228e7c3d2f126f3d8d64bf.tar.gz cpython-879f4546bfbc9c47ef228e7c3d2f126f3d8d64bf.tar.bz2 |
gh-110850: Add PyTime_t C API (GH-115215)
* gh-110850: Add PyTime_t C API
Add PyTime_t API:
* PyTime_t type.
* PyTime_MIN and PyTime_MAX constants.
* PyTime_AsSecondsDouble(), PyTime_Monotonic(),
PyTime_PerfCounter() and PyTime_GetSystemClock() functions.
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Modules/_testcapi/parts.h')
-rw-r--r-- | Modules/_testcapi/parts.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_testcapi/parts.h b/Modules/_testcapi/parts.h index 29817ed..e8cfb24 100644 --- a/Modules/_testcapi/parts.h +++ b/Modules/_testcapi/parts.h @@ -59,6 +59,7 @@ int _PyTestCapi_Init_Immortal(PyObject *module); int _PyTestCapi_Init_GC(PyObject *module); int _PyTestCapi_Init_Sys(PyObject *module); int _PyTestCapi_Init_Hash(PyObject *module); +int _PyTestCapi_Init_Time(PyObject *module); int _PyTestCapi_Init_VectorcallLimited(PyObject *module); int _PyTestCapi_Init_HeaptypeRelative(PyObject *module); |