diff options
Diffstat (limited to 'Include/internal/pycore_time.h')
-rw-r--r-- | Include/internal/pycore_time.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Include/internal/pycore_time.h b/Include/internal/pycore_time.h new file mode 100644 index 0000000..949170c --- /dev/null +++ b/Include/internal/pycore_time.h @@ -0,0 +1,25 @@ +#ifndef Py_INTERNAL_TIME_H +#define Py_INTERNAL_TIME_H +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef Py_BUILD_CORE +# error "this header requires Py_BUILD_CORE define" +#endif + + +struct _time_runtime_state { +#ifdef HAVE_TIMES + int ticks_per_second_initialized; + long ticks_per_second; +#else + int _not_used; +#endif +}; + + +#ifdef __cplusplus +} +#endif +#endif /* !Py_INTERNAL_TIME_H */ |