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 8aab314 commit aaa55a5Copy full SHA for aaa55a5
graalpython/com.oracle.graal.python.cext/modules/_cpython_struct.c
@@ -19,6 +19,11 @@
19
class Struct "PyStructObject *" "&PyStructType"
20
[clinic start generated code]*/
21
/*[clinic end generated code: output=da39a3ee5e6b4b0d input=9b032058a83ed7c3]*/
22
+/* name of this module, minus the leading underscore */
23
+#if !defined(STRUCT_MODULE)
24
+#define STRUCT_MODULE "cpython_struct"
25
+#endif
26
+
27
28
static PyTypeObject PyStructType;
29
@@ -2320,7 +2325,7 @@ The variable struct.error is an exception raised on errors.\n");
2320
2325
2321
2326
static struct PyModuleDef _structmodule = {
2322
2327
PyModuleDef_HEAD_INIT,
2323
- "_struct",
2328
+ "_" STRUCT_MODULE,
2324
2329
module_doc,
2330
-1,
2331
module_functions,
0 commit comments