pycore_time.h 388 B

12345678910111213141516171819202122232425
  1. #ifndef Py_INTERNAL_TIME_H
  2. #define Py_INTERNAL_TIME_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #ifndef Py_BUILD_CORE
  7. # error "this header requires Py_BUILD_CORE define"
  8. #endif
  9. struct _time_runtime_state {
  10. #ifdef HAVE_TIMES
  11. int ticks_per_second_initialized;
  12. long ticks_per_second;
  13. #else
  14. int _not_used;
  15. #endif
  16. };
  17. #ifdef __cplusplus
  18. }
  19. #endif
  20. #endif /* !Py_INTERNAL_TIME_H */