mirror of
https://github.com/python/cpython.git
synced 2024-11-28 16:45:42 +01:00
31 lines
490 B
C
31 lines
490 B
C
|
#ifndef Py_AUDIT_H
|
||
|
#define Py_AUDIT_H
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
|
||
|
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d0000
|
||
|
PyAPI_FUNC(int) PySys_Audit(
|
||
|
const char *event,
|
||
|
const char *argFormat,
|
||
|
...);
|
||
|
|
||
|
PyAPI_FUNC(int) PySys_AuditTuple(
|
||
|
const char *event,
|
||
|
PyObject *args);
|
||
|
#endif
|
||
|
|
||
|
|
||
|
#ifndef Py_LIMITED_API
|
||
|
# define Py_CPYTHON_AUDIT_H
|
||
|
# include "cpython/audit.h"
|
||
|
# undef Py_CPYTHON_AUDIT_H
|
||
|
#endif
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
#endif /* !Py_AUDIT_H */
|