Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b28e916

Browse files
committed
Issue #22117: remove _PyTime_INTERVAL() macro
1 parent 71694d5 commit b28e916

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

Include/pytime.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,6 @@ typedef struct {
3535
*/
3636
PyAPI_FUNC(void) _PyTime_gettimeofday(_PyTime_timeval *tp);
3737

38-
/* Similar to _PyTime_gettimeofday() but retrieve also information on the
39-
* clock used to get the current time. */
40-
PyAPI_FUNC(int) _PyTime_gettimeofday_info(
41-
_PyTime_timeval *tp,
42-
_Py_clock_info_t *info);
43-
44-
#define _PyTime_INTERVAL(tv_start, tv_end) \
45-
((tv_end.tv_sec - tv_start.tv_sec) + \
46-
(tv_end.tv_usec - tv_start.tv_usec) * 0.000001)
47-
4838
typedef enum {
4939
/* Round towards zero. */
5040
_PyTime_ROUND_DOWN=0,

0 commit comments

Comments
 (0)