• File: sysmodule.h
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/saltstack/salt/include/python3.10/cpython/sysmodule.h
  • Date Modified: 12/12/2023 6:27 PM
  • File size: 506 bytes
  • MIME-type: text/x-c
  • Charset: utf-8
#ifndef Py_CPYTHON_SYSMODULE_H
#  error "this header file must not be included directly"
#endif

PyAPI_FUNC(PyObject *) _PySys_GetObjectId(_Py_Identifier *key);
PyAPI_FUNC(int) _PySys_SetObjectId(_Py_Identifier *key, PyObject *);

PyAPI_FUNC(size_t) _PySys_GetSizeOf(PyObject *);

typedef int(*Py_AuditHookFunction)(const char *, PyObject *, void *);

PyAPI_FUNC(int) PySys_Audit(
    const char *event,
    const char *argFormat,
    ...);
PyAPI_FUNC(int) PySys_AddAuditHook(Py_AuditHookFunction, void*);