Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
pycore_sysmodule.h33 linesDownload Raw Back to internal
1#ifndef Py_INTERNAL_SYSMODULE_H2#define Py_INTERNAL_SYSMODULE_H3#ifdef __cplusplus4extern "C" {5#endif6 7#ifndef Py_BUILD_CORE8#  error "this header requires Py_BUILD_CORE define"9#endif10 11PyAPI_FUNC(int) _PySys_GetOptionalAttr(PyObject *, PyObject **);12PyAPI_FUNC(int) _PySys_GetOptionalAttrString(const char *, PyObject **);13PyAPI_FUNC(PyObject *) _PySys_GetRequiredAttr(PyObject *);14PyAPI_FUNC(PyObject *) _PySys_GetRequiredAttrString(const char *);15 16// Export for '_pickle' shared extension17PyAPI_FUNC(size_t) _PySys_GetSizeOf(PyObject *);18 19extern int _PySys_SetAttr(PyObject *, PyObject *);20 21extern int _PySys_ClearAttrString(PyInterpreterState *interp,22                                  const char *name, int verbose);23 24extern int _PySys_SetFlagObj(Py_ssize_t pos, PyObject *new_value);25extern int _PySys_SetIntMaxStrDigits(int maxdigits);26 27extern int _PySysRemoteDebug_SendExec(int pid, int tid, const char *debugger_script_path);28 29#ifdef __cplusplus30}31#endif32#endif /* !Py_INTERNAL_SYSMODULE_H */33 
codekingpro/portable-devtools · Team Ai