Rename islhelper into _isl
[linpy.git] / pypol / _isl.c
similarity index 56%
rename from pypol/islhelper.c
rename to pypol/_isl.c
index 38f249d..974b0c0 100644 (file)
@@ -1,21 +1,21 @@
 #include <Python.h>
 #include <isl/space.h>
 
-static PyMethodDef islhelper_methods[] = {
+static PyMethodDef _isl_methods[] = {
     {NULL, NULL, 0, NULL}
 };
 
-static struct PyModuleDef islhelpermodule = {
+static struct PyModuleDef _islmodule = {
     PyModuleDef_HEAD_INIT,
-    "islhelper",
+    "_isl",
     NULL,
     -1,
-    islhelper_methods
+    _isl_methods
 };
 
-PyMODINIT_FUNC PyInit_islhelper(void) {
+PyMODINIT_FUNC PyInit__isl(void) {
     PyObject *m;
-    m = PyModule_Create(&islhelpermodule);
+    m = PyModule_Create(&_islmodule);
     if (m == NULL)
         return NULL;