We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03ccb38 commit bca65fbCopy full SHA for bca65fb
Python/pystate.c
@@ -3174,16 +3174,16 @@ ref_as_interp(PyInterpreterRef ref)
3174
}
3175
3176
int
3177
-PyInterpreterRef_Get(PyInterpreterRef *ref_ptr)
+PyInterpreterRef_Get(PyInterpreterRef *ref)
3178
{
3179
- assert(ref_ptr != NULL);
+ assert(ref != NULL);
3180
PyInterpreterState *interp = PyInterpreterState_Get();
3181
if (_PyInterpreterState_Incref(interp) < 0) {
3182
PyErr_SetString(PyExc_PythonFinalizationError,
3183
"Cannot acquire strong interpreter references anymore");
3184
return -1;
3185
3186
- *ref_ptr = (PyInterpreterRef)interp;
+ *ref = (PyInterpreterRef)interp;
3187
return 0;
3188
3189
0 commit comments