Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit6d8c17a

Browse files
authored
Fix 'redefinition; different linkage' errors with cp313-win (#115)
1 parent74a7723 commit6d8c17a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎pythoncapi_compat.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1537,7 +1537,7 @@ static inline int PyUnicode_Equal(PyObject *str1, PyObject *str2)
15371537
}
15381538

15391539
#if PY_VERSION_HEX >= 0x030d0000 && !defined(PYPY_VERSION)
1540-
externint_PyUnicode_Equal(PyObject *str1, PyObject *str2);
1540+
PyAPI_FUNC(int)_PyUnicode_Equal(PyObject *str1, PyObject *str2);
15411541

15421542
return_PyUnicode_Equal(str1, str2);
15431543
#elif PY_VERSION_HEX >= 0x03060000 && !defined(PYPY_VERSION)
@@ -1564,7 +1564,7 @@ static inline PyObject* PyBytes_Join(PyObject *sep, PyObject *iterable)
15641564
staticinline Py_hash_tPy_HashBuffer(constvoid *ptr, Py_ssize_t len)
15651565
{
15661566
#if PY_VERSION_HEX >= 0x03000000 && !defined(PYPY_VERSION)
1567-
externPy_hash_t_Py_HashBytes(constvoid *src, Py_ssize_t len);
1567+
PyAPI_FUNC(Py_hash_t)_Py_HashBytes(constvoid *src, Py_ssize_t len);
15681568

15691569
return_Py_HashBytes(ptr, len);
15701570
#else

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp