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 *);
277
277
// It will verify the ``ty`` through user-defined validation function ``validate``,
278
278
// and if the validation is passed, it will set the ``tp_version`` as valid
279
279
// tp_version_tag from the ``ty``.
280
+ extern int _PyType_Validate (PyTypeObject * t
641A
y , _py_validate_type validate , unsigned int * tp_version );
280
281
extern 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 );
283
283
extern int _PyType_CacheGetItemForSpecialization (PyTypeObject * type , PyObject * descriptor );
284
284
285
285
#ifdef __cplusplus
You can’t perform that action at this time.
0 commit comments