2020-03-26 18:57:32 +01: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 22:02:09 +02:00
|
|
|
// Export for '_pickle' shared extension
|
|
|
|
PyAPI_FUNC(size_t) _PySys_GetSizeOf(PyObject *);
|
|
|
|
|
2023-07-25 04:25:45 +02:00
|
|
|
extern int _PySys_SetAttr(PyObject *, PyObject *);
|
2022-02-08 13:39:07 -07:00
|
|
|
|
2023-02-15 15:32:31 -07:00
|
|
|
extern int _PySys_ClearAttrString(PyInterpreterState *interp,
|
|
|
|
const char *name, int verbose);
|
|
|
|
|
2024-09-02 23:25:08 +02:00
|
|
|
extern int _PySys_SetFlagObj(Py_ssize_t pos, PyObject *new_value);
|
|
|
|
extern int _PySys_SetIntMaxStrDigits(int maxdigits);
|
|
|
|
|
2025-04-03 16:20:01 +01:00
|
|
|
extern int _PySysRemoteDebug_SendExec(int pid, int tid, const char *debugger_script_path);
|
|
|
|
|
2020-03-26 18:57:32 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif /* !Py_INTERNAL_SYSMODULE_H */
|