xref: /third_party/python/Include/cpython/sysmodule.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/python/Include/cpython/
17db96d56Sopenharmony_ci#ifndef Py_CPYTHON_SYSMODULE_H
27db96d56Sopenharmony_ci#  error "this header file must not be included directly"
37db96d56Sopenharmony_ci#endif
47db96d56Sopenharmony_ci
57db96d56Sopenharmony_ciPyAPI_FUNC(PyObject *) _PySys_GetAttr(PyThreadState *tstate,
67db96d56Sopenharmony_ci                                      PyObject *name);
77db96d56Sopenharmony_ci
87db96d56Sopenharmony_ciPyAPI_FUNC(size_t) _PySys_GetSizeOf(PyObject *);
97db96d56Sopenharmony_ci
107db96d56Sopenharmony_citypedef int(*Py_AuditHookFunction)(const char *, PyObject *, void *);
117db96d56Sopenharmony_ci
127db96d56Sopenharmony_ciPyAPI_FUNC(int) PySys_Audit(
137db96d56Sopenharmony_ci    const char *event,
147db96d56Sopenharmony_ci    const char *argFormat,
157db96d56Sopenharmony_ci    ...);
167db96d56Sopenharmony_ciPyAPI_FUNC(int) PySys_AddAuditHook(Py_AuditHookFunction, void*);
17

Indexes created Thu Nov 07 10:32:03 CST 2024