On neděle 19. května 2019 20:49:34 CEST Nir Soffer wrote:
-PyMODINIT_FUNC
-initsanlock(void)
+static int
+module_init(PyObject* m)
IMHO `module` instead of `m` would be better name. In general, I'd avoid one
letter names (but probably fine when used as local variables in short
functions like in `initsanlock()` where it's easy to find all occurrences by
reading few lines of code)