X-Git-Url: https://svn.cri.ensmp.fr/git/linpy.git/blobdiff_plain/e66c171545301da1055bc96f19393de0f7b5a5e0..51e97eade63b2f4c7b500feb503436cc4a886e59:/pypol/_islhelper.c
diff --git a/pypol/_islhelper.c b/pypol/_islhelper.c
index 47ee1be..467a7ca 100644
--- a/pypol/_islhelper.c
+++ b/pypol/_islhelper.c
@@ -1,3 +1,20 @@
+/*
+ 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,10 @@ 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;
}
+
+// Copyright 2014 MINES ParisTech