aboutsummaryrefslogtreecommitdiffhomepage
path: root/pyfantom.py
diff options
context:
space:
mode:
authorNicolas Schodet2012-02-08 22:22:28 +0100
committerNicolas Schodet2012-02-08 22:22:28 +0100
commita03d6b2471b72193c58e7bb77773b0ca0957f4fa (patch)
tree7cf8de3affd799bacaf324ba78a7b9edd5a2f948 /pyfantom.py
parent0cb7812c2b8b42df9b48f1d8537b16386ac1db92 (diff)
use a dual license (GPL v2 or MPL v2.0)
Change done with Tat-Chee Wan permission.
Diffstat (limited to 'pyfantom.py')
-rw-r--r--pyfantom.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/pyfantom.py b/pyfantom.py
index 143da71..29dfaea 100644
--- a/pyfantom.py
+++ b/pyfantom.py
@@ -1,4 +1,33 @@
"""NXT Fantom driver wrapper."""
+# pyfantom is dual-licensed. You can use at your option the GNU General Public
+# License version 2 or any later version, or the Mozilla Public License
+# version 2.0.
+#
+# Copyright (C) 2011 Tat-Chee Wan
+# Copyright (C) 2011 Nicolas Schodet
+#
+# --------------
+#
+# This program 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 2 of the License, or
+# (at your option) any later version.
+#
+# This program 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 this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# --------------
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
from ctypes import c_int, c_uint, c_ushort, c_ubyte, c_char_p, c_char, byref, POINTER, Structure, cast
import ctypes.util
import platform