Fix config and status function patterns

- Fixed PyConfig → TyConfig globally
- Fixed _Py_HandleSystemExitAndKeyboardInterrupt → _Ty_*
- Fixed _Py_GetEnv, _Py_ClearArgcArgv → _Ty_*
- Fixed _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED → _Ty_*
- Fixed TyStatus_Ok, TyStatus_Error, TyStatus_NoMemory, TyStatus_Exit function definitions and calls

Resolved linker errors. Build is much closer to completion.

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-12-29 19:15:43 +00:00
parent a4901966cb
commit 9ab881d228
38 changed files with 297 additions and 297 deletions

View File

@@ -382,7 +382,7 @@ _PySysRemoteDebug_SendExec(int pid, int tid, const char *debugger_script_path)
#else
TyThreadState *tstate = _TyThreadState_GET();
const PyConfig *config = _TyInterpreterState_GetConfig(tstate->interp);
const TyConfig *config = _TyInterpreterState_GetConfig(tstate->interp);
if (config->remote_debug != 1) {
TyErr_SetString(TyExc_RuntimeError, "Remote debugging is not enabled");
return -1;