blob: fc4c899b3fe3dc3a7c6d75aa5f38b19c42df9d21 [file] [log] [blame]
Steve Dowerb82e17e2019-05-23 08:45:22 -07001#ifndef Py_CPYTHON_SYSMODULE_H
2# error "this header file must not be included directly"
3#endif
4
Steve Dowerb82e17e2019-05-23 08:45:22 -07005PyAPI_FUNC(PyObject *) _PySys_GetObjectId(_Py_Identifier *key);
6PyAPI_FUNC(int) _PySys_SetObjectId(_Py_Identifier *key, PyObject *);
7
8PyAPI_FUNC(size_t) _PySys_GetSizeOf(PyObject *);
9
10typedef int(*Py_AuditHookFunction)(const char *, PyObject *, void *);
11
Victor Stinner08faf002020-03-26 18:57:32 +010012PyAPI_FUNC(int) PySys_Audit(
13 const char *event,
14 const char *argFormat,
15 ...);
Steve Dowerb82e17e2019-05-23 08:45:22 -070016PyAPI_FUNC(int) PySys_AddAuditHook(Py_AuditHookFunction, void*);