X-Git-Url: https://svn.cri.ensmp.fr/git/linpy.git/blobdiff_plain/e66c171545301da1055bc96f19393de0f7b5a5e0..9b755b94aa2c8847ffca607de239f5c3bca9984b:/pypol/_islhelper.c
diff --git a/pypol/_islhelper.c b/pypol/_islhelper.c
index 47ee1be..6757ae1 100644
--- a/pypol/_islhelper.c
+++ b/pypol/_islhelper.c
@@ -1,3 +1,20 @@
+// Copyright 2014 MINES ParisTech
+//
+// This file is part of Linpy.
+//
+// Linpy is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Linpy is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Linpy. If not, see .
+
#include
#include
@@ -138,10 +155,8 @@ PyMODINIT_FUNC PyInit__islhelper(void) {
if (m == NULL) {
return NULL;
}
-
if (PyModule_AddObject(m, "dim_set", PyLong_FromLong(isl_dim_set)) == -1) {
return NULL;
}
-
return m;
}