8000 Revert "Fix for windows build" · python/cpython@d0a9f07 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d0a9f07

Browse files
committed
Revert "Fix for windows build"
This reverts commit a059e68.
1 parent a059e68 commit d0a9f07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Include/internal/pycore_typeobject.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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 *t 641A y, _py_validate_type validate, unsigned int *tp_version);
280281
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);
283283
extern int _PyType_CacheGetItemForSpecialization(PyTypeObject *type, PyObject *descriptor);
284284

285285
#ifdef __cplusplus

0 commit comments

Comments
 (0)
0