[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH for-next RFC 4/4] pygrub: make it build with python 3
On Tue, Mar 05, 2019 at 04:42:06PM +0000, Wei Liu wrote: > + > PyMODINIT_FUNC > initxenfsimage(void) So Python 3 requires the initialisation function to be called PyInit_xenfsimage, otherwise it can't find the entry point of this module. I have fixed this in my next version. Wei. > { > +#if PY_MAJOR_VERSION < 3 > Py_InitModule("xenfsimage", fsimage_module_methods); > +#else > + return PyModule_Create(&fsimage_module_def); > +#endif > } > -- > 2.11.0 > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |