mirror of
https://github.com/johndoe6345789/typthon.git
synced 2026-04-24 13:45:05 +00:00
Massive automated renaming of all Py_/PyObject/etc. prefixes to Ty_/TyObject/etc. This includes: - All public API types (TyObject, TyTypeObject, etc.) - All public API functions (Ty_Initialize, Ty_BuildValue, etc.) - All internal API (_Ty_ prefixes) - Reference counting macros (Ty_INCREF, Ty_DECREF, etc.) - Type flags (Ty_TPFLAGS_*) - Debug flags (Ty_DEBUG, Ty_TRACE_REFS, etc.) - All object type APIs (TyList_, TyDict_, TyUnicode_, etc.) This changes over 60,000 occurrences across 1000+ files. Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
28 lines
883 B
C
28 lines
883 B
C
#ifndef Ty_SYSMODULE_H
|
|
#define Ty_SYSMODULE_H
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
PyAPI_FUNC(TyObject *) TySys_GetObject(const char *);
|
|
PyAPI_FUNC(int) TySys_SetObject(const char *, TyObject *);
|
|
|
|
Ty_DEPRECATED(3.11) PyAPI_FUNC(void) TySys_SetArgv(int, wchar_t **);
|
|
Ty_DEPRECATED(3.11) PyAPI_FUNC(void) TySys_SetArgvEx(int, wchar_t **, int);
|
|
|
|
PyAPI_FUNC(void) TySys_WriteStdout(const char *format, ...)
|
|
Ty_GCC_ATTRIBUTE((format(printf, 1, 2)));
|
|
PyAPI_FUNC(void) TySys_WriteStderr(const char *format, ...)
|
|
Ty_GCC_ATTRIBUTE((format(printf, 1, 2)));
|
|
PyAPI_FUNC(void) TySys_FormatStdout(const char *format, ...);
|
|
PyAPI_FUNC(void) TySys_FormatStderr(const char *format, ...);
|
|
|
|
Ty_DEPRECATED(3.13) PyAPI_FUNC(void) TySys_ResetWarnOptions(void);
|
|
|
|
PyAPI_FUNC(TyObject *) TySys_GetXOptions(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif /* !Ty_SYSMODULE_H */
|