Skip to content

Commit

Permalink
private versions are not in limited API
Browse files Browse the repository at this point in the history
  • Loading branch information
iritkatriel committed Mar 21, 2024
1 parent 24cd7c4 commit 29c01e3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Include/cpython/monitoring.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# error "this header file must not be included directly"
#endif

#ifndef Py_LIMITED_API

PyAPI_FUNC(void)
_PyMonitoring_EnterScope(PyMonitoringState *state_array, uint64_t *version,
const uint8_t *event_types, uint32_t length);
Expand Down Expand Up @@ -81,3 +83,5 @@ _PyMonitoring_FirePyUnwindEvent(PyMonitoringState *state, PyObject *codelike, in
PyAPI_FUNC(int)
_PyMonitoring_FireStopIterationEvent(PyMonitoringState *state, PyObject *codelike, int offset,
PyObject *exception);

#endif

0 comments on commit 29c01e3

Please sign in to comment.