Skip to content

Commit 3da18d6

Browse files
committed
[GR-46383] Revert part of the cffi patch
PullRequest: graalpython/2802
2 parents 7885ecc + 4cfd81b commit 3da18d6

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

graalpython/lib-graalpython/patches/cffi/cffi-1.15.1.patch

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -40,29 +40,3 @@ index 66e2835..bc32b1b 100644
4040
/* Called at the start of a callback. Replacement for
4141
PyGILState_Ensure().
4242
*/
43-
diff --git a/cffi/_cffi_include.h b/cffi/_cffi_include.h
44-
index e4c0a67..53b7d06 100644
45-
--- a/cffi/_cffi_include.h
46-
+++ b/cffi/_cffi_include.h
47-
@@ -121,7 +121,7 @@ extern "C" {
48-
#endif
49-
50-
/********** CPython-specific section **********/
51-
-#ifndef PYPY_VERSION
52-
+#if !defined(PYPY_VERSION) && !defined(GRAALVM_PYTHON)
53-
54-
55-
#if PY_MAJOR_VERSION >= 3
56-
diff --git a/cffi/_embedding.h b/cffi/_embedding.h
57-
index 8e8df88..90fdcd6 100644
58-
--- a/cffi/_embedding.h
59-
+++ b/cffi/_embedding.h
60-
@@ -113,7 +113,7 @@ static void _cffi_release_reentrant_mutex(void)
61-
62-
63-
/********** CPython-specific section **********/
64-
-#ifndef PYPY_VERSION
65-
+#if !defined(PYPY_VERSION) && !defined(GRAALVM_PYTHON)
66-
67-
#include "_cffi_errors.h"
68-

0 commit comments

Comments
 (0)