sysmodule.h 489 B

12345678910111213141516
  1. #ifndef Py_CPYTHON_SYSMODULE_H
  2. # error "this header file must not be included directly"
  3. #endif
  4. PyAPI_FUNC(PyObject *) _PySys_GetAttr(PyThreadState *tstate,
  5. PyObject *name);
  6. PyAPI_FUNC(size_t) _PySys_GetSizeOf(PyObject *);
  7. typedef int(*Py_AuditHookFunction)(const char *, PyObject *, void *);
  8. PyAPI_FUNC(int) PySys_Audit(
  9. const char *event,
  10. const char *argFormat,
  11. ...);
  12. PyAPI_FUNC(int) PySys_AddAuditHook(Py_AuditHookFunction, void*);