From: Uwe Hermann Date: Mon, 15 Apr 2013 22:57:00 +0000 (+0200) Subject: Python bindings: Cosmetics. X-Git-Tag: dsupstream~140 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=8dc93c841f73dd2dbb252c1be42701a5e03d2f26;p=libsigrok.git Python bindings: Cosmetics. --- diff --git a/bindings/python/setup.py b/bindings/python/setup.py index 0d854afd..403d9a2e 100644 --- a/bindings/python/setup.py +++ b/bindings/python/setup.py @@ -1,20 +1,21 @@ -# -# This file is part of the sigrok project. -# -# Copyright (C) 2013 Martin Ling -# -# 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 3 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, see . +## +## This file is part of the sigrok project. +## +## Copyright (C) 2013 Martin Ling +## +## 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 3 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, see . +## from distutils.core import setup, Extension import subprocess diff --git a/bindings/swig/libsigrok.i b/bindings/swig/libsigrok.i index 19f4a3b4..6b119562 100644 --- a/bindings/swig/libsigrok.i +++ b/bindings/swig/libsigrok.i @@ -25,14 +25,14 @@ #include "libsigrok/libsigrok.h" %} -typedef void * gpointer; +typedef void *gpointer; typedef struct _GSList GSList; struct _GSList { - gpointer data; - GSList *next; + gpointer data; + GSList *next; }; void g_slist_free(GSList *list);