#define PyTrace_OPCODE 7
/* Remote debugger support */
-#define Py_MAX_SCRIPT_PATH_SIZE 512
+#define _Py_MAX_SCRIPT_PATH_SIZE 512
typedef struct {
int32_t debugger_pending_call;
- char debugger_script_path[Py_MAX_SCRIPT_PATH_SIZE];
+ char debugger_script_path[_Py_MAX_SCRIPT_PATH_SIZE];
} _PyRemoteDebuggerSupport;
typedef struct _err_stackitem {
.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, \
}, \
}
{
tstate->remote_debugger_support.debugger_pending_call = 0;
memset(tstate->remote_debugger_support.debugger_script_path, 0,
- Py_MAX_SCRIPT_PATH_SIZE);
+ _Py_MAX_SCRIPT_PATH_SIZE);
}