File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -277,9 +277,9 @@ typedef int (*_py_validate_type)(PyTypeObject *);
277277// It will verify the ``ty`` through user-defined validation function ``validate``,
278278// and if the validation is passed, it will set the ``tp_version`` as valid
279279// tp_version_tag from the ``ty``.
280+ extern int _PyType_Validate (PyTypeObject * ty , _py_validate_type validate , unsigned int * tp_version );
280281extern PyObject * _PyType_GetItemFromCache (PyTypeObject * type );
281- PyAPI_FUNC (int ) _PyType_Validate (PyTypeObject * ty , _py_validate_type validate , unsigned int * tp_version );
282- PyAPI_FUNC (PyObject * ) _PyType_GetItemFromCacheWithVersion (PyTypeObject * type , uint32_t * version );
282+ extern PyObject * _PyType_GetItemFromCacheWithVersion (PyTypeObject * type , uint32_t * version );
283283extern int _PyType_CacheGetItemForSpecialization (PyTypeObject * type , PyObject * descriptor );
284284
285285#ifdef __cplusplus
You can’t perform that action at this time.
0 commit comments