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 97cfbb4 commit 6ce8bb1Copy full SHA for 6ce8bb1
graalpython/com.oracle.graal.python.cext/modules/_cpython_struct.c
@@ -2086,6 +2086,8 @@ PyTypeObject PyStructType = {
2086
/* ---- Standalone functions ---- */
2087
2088
#define MAXCACHE 100
2089
+/* Please note: the name of the cache needs to be prefixed because this file
2090
+ includes 'capi.h' which defines a global variable with name 'cache'. */
2091
#define STRUCT_CACHE _cpython_struct_cache
2092
static PyObject *STRUCT_CACHE = NULL;
2093
0 commit comments