aboutsummaryrefslogtreecommitdiff
path: root/src/a2l.c
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2015-08-28 17:55:26 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2015-08-28 17:55:26 +0000
commit739a8290a8b05645a2d055aed8e5eb76ba2e24e6 (patch)
tree13713efb9e01a6f2912ce4fe0a12af4869a7593b /src/a2l.c
parent863ac0a263247d43d48c06ed942ddd470f811507 (diff)
one-true indentation
svn path=/trunk/externals/zexy/; revision=17537
Diffstat (limited to 'src/a2l.c')
-rw-r--r--src/a2l.c35
1 files changed, 22 insertions, 13 deletions
diff --git a/src/a2l.c b/src/a2l.c
index 2621b73..0f9b904 100644
--- a/src/a2l.c
+++ b/src/a2l.c
@@ -1,4 +1,4 @@
-/*
+/*
* a2l: convert anythings to lists (use [list] instead)
*
* (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem)
@@ -7,12 +7,12 @@
* 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, see <http://www.gnu.org/licenses/>.
*/
@@ -22,8 +22,7 @@
static t_class *a2l_class;
-typedef struct _a2l
-{
+typedef struct _a2l {
t_object x_obj;
} t_a2l;
@@ -45,19 +44,29 @@ static void a2l_anything(t_a2l *x, t_symbol *s, int argc, t_atom *argv)
}
static void a2l_list(t_a2l *x, t_symbol *s, int argc, t_atom *argv)
-{ outlet_list(x->x_obj.ob_outlet, s, argc, argv);}
+{
+ outlet_list(x->x_obj.ob_outlet, s, argc, argv);
+}
static void a2l_float(t_a2l *x, t_floatarg f)
-{ outlet_float(x->x_obj.ob_outlet, f);}
+{
+ outlet_float(x->x_obj.ob_outlet, f);
+}
static void a2l_symbol(t_a2l *x, t_symbol *s)
-{ outlet_symbol(x->x_obj.ob_outlet, s);}
+{
+ outlet_symbol(x->x_obj.ob_outlet, s);
+}
static void a2l_pointer(t_a2l *x, t_gpointer *gp)
-{ outlet_pointer(x->x_obj.ob_outlet, gp);}
+{
+ outlet_pointer(x->x_obj.ob_outlet, gp);
+}
static void a2l_bang(t_a2l *x)
-{ outlet_bang(x->x_obj.ob_outlet);}
+{
+ outlet_bang(x->x_obj.ob_outlet);
+}
static void *a2l_new(void)
{
@@ -68,9 +77,9 @@ static void *a2l_new(void)
void a2l_setup(void)
{
-
- a2l_class = class_new(gensym("a2l"), (t_newmethod)a2l_new,
- 0, sizeof(t_a2l), 0, 0);
+
+ a2l_class = class_new(gensym("a2l"), (t_newmethod)a2l_new,
+ 0, sizeof(t_a2l), 0, 0);
class_addcreator((t_newmethod)a2l_new, gensym("any2list"), 0);