blob: 72d8ffed29fd6f73f8b2c6f157dbbdf86aa36bcb [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
5#ifdef __cplusplus
6extern "C" {
7#endif
8
9PyAPI_FUNC(PyObject *) _PySys_GetObjectId(_Py_Identifier *key);
10PyAPI_FUNC(int) _PySys_SetObjectId(_Py_Identifier *key, PyObject *);
11
12PyAPI_FUNC(size_t) _PySys_GetSizeOf(PyObject *);
13
14typedef int(*Py_AuditHookFunction)(const char *, PyObject *, void *);
15
16PyAPI_FUNC(int) PySys_Audit(const char*, const char *, ...);
17PyAPI_FUNC(int) PySys_AddAuditHook(Py_AuditHookFunction, void*);
18
19#ifdef __cplusplus
20}
21#endif