Skip to content

gh-110850: Expose _PyTime_TimeUnchecked function for now #116463

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Include/cpython/pytime.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ PyAPI_FUNC(int) PyTime_Monotonic(PyTime_t *result);
PyAPI_FUNC(int) PyTime_PerfCounter(PyTime_t *result);
PyAPI_FUNC(int) PyTime_Time(PyTime_t *result);

// Expose internal API until we figure out what to do about it,
// see https://github.com/capi-workgroup/decisions/issues/15
// Do not use; like any names with a leading underscore, these may go away
// at any time.
PyAPI_FUNC(PyTime_t) _PyTime_TimeUnchecked(void);
PyAPI_FUNC(PyTime_t) _PyTime_MonotonicUnchecked(void);
PyAPI_FUNC(PyTime_t) _PyTime_PerfCounterUnchecked(void);

#ifdef __cplusplus
}
#endif
Expand Down