gh-135755: Make Py_MAX_SCRIPT_PATH_SIZE private (#138350)

This commit is contained in:
Victor Stinner 2025-09-01 21:01:01 +02:00 committed by GitHub
parent b3ff3165d2
commit aec006be97
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View file

@ -368,7 +368,7 @@ typedef struct _Py_DebugOffsets {
.remote_debugging_enabled = offsetof(PyInterpreterState, config.remote_debug), \
.debugger_pending_call = offsetof(_PyRemoteDebuggerSupport, debugger_pending_call), \
.debugger_script_path = offsetof(_PyRemoteDebuggerSupport, debugger_script_path), \
.debugger_script_path_size = Py_MAX_SCRIPT_PATH_SIZE, \
.debugger_script_path_size = _Py_MAX_SCRIPT_PATH_SIZE, \
}, \
}