mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-27 09:10:34 +03:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
c8e301c474
commit
7999da38a7
|
@ -81,7 +81,7 @@ struct {
|
|||
/* -------------------------------------------------------------------- */
|
||||
/* font objects */
|
||||
|
||||
static FT_Library library;
|
||||
static FT_Library library;
|
||||
#ifdef Py_GIL_DISABLED
|
||||
PyMutex ft_library_mutex;
|
||||
#endif
|
||||
|
@ -1648,7 +1648,7 @@ PyInit__imagingft(void) {
|
|||
}
|
||||
|
||||
#ifdef Py_GIL_DISABLED
|
||||
ft_library_mutex = (PyMutex) {0};
|
||||
ft_library_mutex = (PyMutex){0};
|
||||
PyUnstable_Module_SetGIL(m, Py_MOD_GIL_NOT_USED);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user