mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-131591: Add Py_ prefix to MAX_SCRIPT_PATH_SIZE; remove unprefixed struct tag (GH-135924)
Names/macros defined in public headers should have `Py`/`_Py` prefixes.
This commit is contained in:
parent
e3ea6f2b3b
commit
a1da208eec
3 changed files with 6 additions and 5 deletions
|
@ -685,7 +685,8 @@ static void
|
|||
reset_remotedebug_data(PyThreadState *tstate)
|
||||
{
|
||||
tstate->remote_debugger_support.debugger_pending_call = 0;
|
||||
memset(tstate->remote_debugger_support.debugger_script_path, 0, MAX_SCRIPT_PATH_SIZE);
|
||||
memset(tstate->remote_debugger_support.debugger_script_path, 0,
|
||||
Py_MAX_SCRIPT_PATH_SIZE);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue