- Notifications
You must be signed in to change notification settings - Fork 31.7k
/
Copy pathaudit.h
30 lines (23 loc) · 490 Bytes
/
audit.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndefPy_AUDIT_H
#definePy_AUDIT_H
#ifdef__cplusplus
extern"C" {
#endif
#if !defined(Py_LIMITED_API) ||Py_LIMITED_API+0 >= 0x030d0000
PyAPI_FUNC(int) PySys_Audit(
constchar*event,
constchar*argFormat,
...);
PyAPI_FUNC(int) PySys_AuditTuple(
constchar*event,
PyObject*args);
#endif
#ifndefPy_LIMITED_API
# definePy_CPYTHON_AUDIT_H
# include"cpython/audit.h"
# undef Py_CPYTHON_AUDIT_H
#endif
#ifdef__cplusplus
}
#endif
#endif/* !Py_AUDIT_H */