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 597652b commit 22464ebCopy full SHA for 22464eb
1 file changed
Modules/xxlimited.c
@@ -560,10 +560,14 @@ xx_free(void *module)
560
(void)xx_clear((PyObject *)module);
561
}
562
563
+// Information that CPython uses to prevent loading incompatible extenstions
564
+PyABIInfo_VAR(abi_info);
565
+
566
static PyModuleDef_Slot xx_slots[] = {
567
/* Basic metadata */
568
{Py_mod_name, "xxlimited"},
569
{Py_mod_doc, (void*)module_doc},
570
+ {Py_mod_abi, &abi_info},
571
572
/* The method table */
573
{Py_mod_methods, xx_methods},
0 commit comments