mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Issue #22117: Use the _PyTime_t API for time.clock_settime()
Remove also the now unused _PyTime_AddDouble() function.
This commit is contained in:
parent
c337838af7
commit
b3b4544070
3 changed files with 5 additions and 27 deletions
|
@ -74,11 +74,6 @@ PyAPI_FUNC(int) _PyTime_ObjectToTimespec(
|
|||
long *nsec,
|
||||
_PyTime_round_t);
|
||||
|
||||
/* Add interval seconds to tv */
|
||||
PyAPI_FUNC(void)
|
||||
_PyTime_AddDouble(_PyTime_timeval *tv, double interval,
|
||||
_PyTime_round_t round);
|
||||
|
||||
/* Initialize time.
|
||||
Return 0 on success, raise an exception and return -1 on error. */
|
||||
PyAPI_FUNC(int) _PyTime_Init(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue