Skip to content

Commit 3689044

Browse files
committed
test fix for "Check if generated files are up to date"
1 parent d7025f5 commit 3689044

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Modules/_threadmodule.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ get_thread_state_by_cls(PyTypeObject *cls)
7575
return get_thread_state(module);
7676
}
7777

78+
// Declarations for thread name handling
79+
static int set_native_thread_name(const char *name);
80+
static PyObject *encode_thread_name(PyObject *name_obj, const char *encoding);
81+
7882
#ifdef MS_WINDOWS
7983
typedef HRESULT (WINAPI *PF_GET_THREAD_DESCRIPTION)(HANDLE, PCWSTR*);
8084
typedef HRESULT (WINAPI *PF_SET_THREAD_DESCRIPTION)(HANDLE, PCWSTR);

0 commit comments

Comments
 (0)