Skip to content

Commit

Permalink
Fix for windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
corona10 committed Dec 8, 2024
1 parent 2953fb4 commit a059e68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Include/internal/pycore_typeobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,9 @@ typedef int (*_py_validate_type)(PyTypeObject *);
// It will verify the ``ty`` through user-defined validation function ``validate``,
// and if the validation is passed, it will set the ``tp_version`` as valid
// tp_version_tag from the ``ty``.
extern int _PyType_Validate(PyTypeObject *ty, _py_validate_type validate, unsigned int *tp_version);
extern PyObject *_PyType_GetItemFromCache(PyTypeObject *type);
extern PyObject *_PyType_GetItemFromCacheWithVersion(PyTypeObject *type, uint32_t *version);
PyAPI_FUNC(int) _PyType_Validate(PyTypeObject *ty, _py_validate_type validate, unsigned int *tp_version);
PyAPI_FUNC(PyObject *) _PyType_GetItemFromCacheWithVersion(PyTypeObject *type, uint32_t *version);
extern int _PyType_CacheGetItemForSpecialization(PyTypeObject *type, PyObject *descriptor);

#ifdef __cplusplus
Expand Down

0 comments on commit a059e68

Please sign in to comment.