2020-03-26 14:57:32 -03:00
|
|
|
#ifndef Py_INTERNAL_SYSMODULE_H
|
|
|
|
#define Py_INTERNAL_SYSMODULE_H
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef Py_BUILD_CORE
|
|
|
|
# error "this header requires Py_BUILD_CORE define"
|
|
|
|
#endif
|
|
|
|
|
2023-08-24 17:02:09 -03:00
|
|
|
// Export for '_pickle' shared extension
|
|
|
|
PyAPI_FUNC(PyObject*) _PySys_GetAttr(PyThreadState *tstate, PyObject *name);
|
|
|
|
|
|
|
|
// Export for '_pickle' shared extension
|
|
|
|
PyAPI_FUNC(size_t) _PySys_GetSizeOf(PyObject *);
|
|
|
|
|
2023-07-24 23:25:45 -03:00
|
|
|
extern int _PySys_SetAttr(PyObject *, PyObject *);
|
2022-02-08 16:39:07 -04:00
|
|
|
|
2023-02-15 18:32:31 -04:00
|
|
|
extern int _PySys_ClearAttrString(PyInterpreterState *interp,
|
|
|
|
const char *name, int verbose);
|
|
|
|
|
2024-09-02 18:25:08 -03:00
|
|
|
extern int _PySys_SetFlagObj(Py_ssize_t pos, PyObject *new_value);
|
|
|
|
extern int _PySys_SetIntMaxStrDigits(int maxdigits);
|
|
|
|
|
2020-03-26 14:57:32 -03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif /* !Py_INTERNAL_SYSMODULE_H */
|