mirror of
https://github.com/python/cpython.git
synced 2026-02-20 06:11:12 +00:00
These are private API; let's name new ones accordingly.
(cherry picked from commit 6be17baeb5)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
8 lines
231 B
C
8 lines
231 B
C
#ifndef _Py_CPYTHON_AUDIT_H
|
|
# error "this header file must not be included directly"
|
|
#endif
|
|
|
|
|
|
typedef int(*Py_AuditHookFunction)(const char *, PyObject *, void *);
|
|
|
|
PyAPI_FUNC(int) PySys_AddAuditHook(Py_AuditHookFunction, void*);
|