We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00bcf66 commit 225cb46Copy full SHA for 225cb46
1 file changed
include/pybind11/detail/internals.h
@@ -241,7 +241,7 @@ class pymutex {
241
242
# if !(defined(PY_VERSION_HEX) && PY_VERSION_HEX >= 0x030E00C1 /* 3.14.0rc1 */)
243
// Forward declaration of internal slow path function for usage in pycritical_section
244
-void _PyCriticalSection_BeginSlow(PyCriticalSection *c, PyMutex *m);
+extern "C" void _PyCriticalSection_BeginSlow(PyCriticalSection *c, PyMutex *m);
245
# endif
246
247
class pycritical_section {
0 commit comments