X-Git-Url: https://scm.cri.ensmp.fr/git/linpy.git/blobdiff_plain/76c0aa89c5a4008aaf0de557dd659917518aa41a:/pypol/islhelper.c..3b1b3560c8880ef25995a18b6e365e0d730a2df2:/pypol/static/gitweb.js diff --git a/pypol/islhelper.c b/pypol/islhelper.c deleted file mode 100644 index 38f249d..0000000 --- a/pypol/islhelper.c +++ /dev/null @@ -1,25 +0,0 @@ -#include -#include - -static PyMethodDef islhelper_methods[] = { - {NULL, NULL, 0, NULL} -}; - -static struct PyModuleDef islhelpermodule = { - PyModuleDef_HEAD_INIT, - "islhelper", - NULL, - -1, - islhelper_methods -}; - -PyMODINIT_FUNC PyInit_islhelper(void) { - PyObject *m; - m = PyModule_Create(&islhelpermodule); - if (m == NULL) - return NULL; - - PyModule_AddObject(m, "isl_dim_set", PyLong_FromLong(isl_dim_set)); - - return m; -}