• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef Py_INTERNAL_SYSMODULE_H
2 #define Py_INTERNAL_SYSMODULE_H
3 #ifdef __cplusplus
4 extern "C" {
5 #endif
6 
7 #ifndef Py_BUILD_CORE
8 #  error "this header requires Py_BUILD_CORE define"
9 #endif
10 
11 PyAPI_FUNC(int) _PySys_Audit(
12     PyThreadState *tstate,
13     const char *event,
14     const char *argFormat,
15     ...);
16 
17 /* We want minimal exposure of this function, so use extern rather than
18    PyAPI_FUNC() to not export the symbol. */
19 extern void _PySys_ClearAuditHooks(PyThreadState *tstate);
20 
21 #ifdef __cplusplus
22 }
23 #endif
24 #endif /* !Py_INTERNAL_SYSMODULE_H */
25