sysmodule.h 575 B

123456789101112131415161718192021222324
  1. #ifndef Py_CPYTHON_SYSMODULE_H
  2. # error "this header file must not be included directly"
  3. #endif
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. PyAPI_FUNC(PyObject *) _PySys_GetObjectId(_Py_Identifier *key);
  8. PyAPI_FUNC(int) _PySys_SetObjectId(_Py_Identifier *key, PyObject *);
  9. PyAPI_FUNC(size_t) _PySys_GetSizeOf(PyObject *);
  10. typedef int(*Py_AuditHookFunction)(const char *, PyObject *, void *);
  11. PyAPI_FUNC(int) PySys_Audit(
  12. const char *event,
  13. const char *argFormat,
  14. ...);
  15. PyAPI_FUNC(int) PySys_AddAuditHook(Py_AuditHookFunction, void*);
  16. #ifdef __cplusplus
  17. }
  18. #endif