Staging
v0.5.1
https://github.com/python/cpython
Revision 014b4ef0a175eb26759a3daa363cb230267d6775 authored by Miss Islington (bot) on 09 September 2020, 13:45:08 UTC, committed by GitHub on 09 September 2020, 13:45:08 UTC
(cherry picked from commit 714217f9561507bbc7218a02089d0e1da0239372)
1 parent b2376f9
Raw File
Tip revision: 014b4ef0a175eb26759a3daa363cb230267d6775 authored by Miss Islington (bot) on 09 September 2020, 13:45:08 UTC
Fixes dead links to Django's logging config docs (GH-20823) (GH-22170)
Tip revision: 014b4ef
pycore_sysmodule.h
#ifndef Py_INTERNAL_SYSMODULE_H
#define Py_INTERNAL_SYSMODULE_H
#ifdef __cplusplus
extern "C" {
#endif

#ifndef Py_BUILD_CORE
#  error "this header requires Py_BUILD_CORE define"
#endif

PyAPI_FUNC(int) _PySys_Audit(
    PyThreadState *tstate,
    const char *event,
    const char *argFormat,
    ...);

/* We want minimal exposure of this function, so use extern rather than
   PyAPI_FUNC() to not export the symbol. */
extern void _PySys_ClearAuditHooks(PyThreadState *tstate);

#ifdef __cplusplus
}
#endif
#endif /* !Py_INTERNAL_SYSMODULE_H */
back to top