jpayne@69: #ifndef Py_CPYTHON_SYSMODULE_H jpayne@69: # error "this header file must not be included directly" jpayne@69: #endif jpayne@69: jpayne@69: #ifdef __cplusplus jpayne@69: extern "C" { jpayne@69: #endif jpayne@69: jpayne@69: PyAPI_FUNC(PyObject *) _PySys_GetObjectId(_Py_Identifier *key); jpayne@69: PyAPI_FUNC(int) _PySys_SetObjectId(_Py_Identifier *key, PyObject *); jpayne@69: jpayne@69: PyAPI_FUNC(size_t) _PySys_GetSizeOf(PyObject *); jpayne@69: jpayne@69: typedef int(*Py_AuditHookFunction)(const char *, PyObject *, void *); jpayne@69: jpayne@69: PyAPI_FUNC(int) PySys_Audit(const char*, const char *, ...); jpayne@69: PyAPI_FUNC(int) PySys_AddAuditHook(Py_AuditHookFunction, void*); jpayne@69: jpayne@69: #ifdef __cplusplus jpayne@69: } jpayne@69: #endif