mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
GH-90699: use statically allocated interned strings in typeobject's slotdefs (GH-94706)
This commit is contained in:
parent
b65686c505
commit
4e4bfffe2d
5 changed files with 140 additions and 176 deletions
|
|
@ -11,7 +11,6 @@ extern "C" {
|
|||
|
||||
/* runtime lifecycle */
|
||||
|
||||
extern PyStatus _PyTypes_InitState(PyInterpreterState *);
|
||||
extern PyStatus _PyTypes_InitTypes(PyInterpreterState *);
|
||||
extern void _PyTypes_FiniTypes(PyInterpreterState *);
|
||||
extern void _PyTypes_Fini(PyInterpreterState *);
|
||||
|
|
@ -67,8 +66,6 @@ struct types_state {
|
|||
};
|
||||
|
||||
|
||||
extern PyStatus _PyTypes_InitSlotDefs(void);
|
||||
|
||||
extern int _PyStaticType_InitBuiltin(PyTypeObject *type);
|
||||
extern static_builtin_state * _PyStaticType_GetState(PyTypeObject *);
|
||||
extern void _PyStaticType_ClearWeakRefs(PyTypeObject *type);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue