Skip to content

Commit 8a84107

Browse files
DinoVmeta-codesync[bot]
authored andcommitted
Rename Ci_SetTStateForGC -> _Ci_PySetTStateForGC
Summary: `Ci_SetTStateForGC` doesn't match our existing declared non-smelly symbol on 3.14. Renames it to `_Ci_PySetTStateForGC` so the smelly symbols checks should pass. The rename is applied to 3.14 and 3.15 (it's not present in 3.12 and we don't have the parallel GC ported to main). Reviewed By: itamaro Differential Revision: D108065272 fbshipit-source-id: 443ec6cfb99382b02d740345209edf6b7fec8f6b
1 parent 206cac2 commit 8a84107

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Include/pystate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ PyAPI_FUNC(void) PyGILState_Release(PyGILState_STATE);
120120
PyAPI_FUNC(PyThreadState *) PyGILState_GetThisThreadState(void);
121121

122122
// Sets the thread state for multi-threaded GC
123-
PyAPI_FUNC(void) Ci_SetTStateForGC(PyThreadState *tstate);
123+
PyAPI_FUNC(void) _Ci_PySetTStateForGC(PyThreadState *tstate);
124124

125125
/* PEP 788 -- Protection against interpreter finalization */
126126

Python/pystate.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ current_fast_set(_PyRuntimeState *Py_UNUSED(runtime), PyThreadState *tstate)
9696
}
9797

9898
void
99-
Ci_SetTStateForGC(PyThreadState *tstate)
99+
_Ci_PySetTStateForGC(PyThreadState *tstate)
100100
{
101101
current_fast_set(&_PyRuntime, tstate);
102102
}

0 commit comments

Comments
 (0)