mirror of
https://github.com/python/cpython.git
synced 2025-11-02 19:12:55 +00:00
gh-111972: Make Unicode name C APIcapsule initialization thread-safe (#112249)
This commit is contained in:
parent
81261fa67f
commit
0785c68559
3 changed files with 26 additions and 20 deletions
|
|
@ -28,6 +28,8 @@ typedef struct {
|
|||
|
||||
} _PyUnicode_Name_CAPI;
|
||||
|
||||
extern _PyUnicode_Name_CAPI* _PyUnicode_GetNameCAPI(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue