From 739a8290a8b05645a2d055aed8e5eb76ba2e24e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Fri, 28 Aug 2015 17:55:26 +0000 Subject: one-true indentation svn path=/trunk/externals/zexy/; revision=17537 --- src/zexy.h | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'src/zexy.h') diff --git a/src/zexy.h b/src/zexy.h index aa1e650..b8561cd 100644 --- a/src/zexy.h +++ b/src/zexy.h @@ -18,7 +18,7 @@ http://puredata.info/community/projects/software/zexy/ ftp://iem.at/pd/Externals/ZEXY - * + * * ZEXY is published under the GNU GeneralPublicLicense, that must be shipped with ZEXY. * if you are using Debian GNU/linux, the GNU-GPL can be found under /usr/share/common-licenses/GPL * if you still haven't found a copy of the GNU-GPL, have a look at http://www.gnu.org @@ -40,7 +40,7 @@ # endif #endif -/* +/* * to use the zexyconf.h compile-time configurations, you have to set HAVE_CONFIG_H * usually this is done in Make.config by configure */ @@ -111,8 +111,7 @@ #define ZEXY_TYPE_EQUAL(type1, type2) (sizeof(type1) == sizeof(type2)) -typedef struct _mypdlist -{ +typedef struct _mypdlist { t_object x_obj; int x_n; @@ -120,18 +119,22 @@ typedef struct _mypdlist } t_mypdlist; #ifndef ZEXY_LIBRARY -static void zexy_register(char*object){ - if(object!=0){ +static void zexy_register(char*object) +{ + if(object!=0) { post("[%s] part of zexy-%s (compiled: "__DATE__")", object, VERSION); post("\tCopyright (c) 1999-2012 IOhannes m zmölnig, forum::für::umläute & IEM"); } } #else -static void zexy_register(char*object){object=0;} +static void zexy_register(char*object) +{ + object=0; +} #endif /* ZEXY_LIBRARY */ #if (defined PD_MAJOR_VERSION && defined PD_MINOR_VERSION) && (PD_MAJOR_VERSION > 0 || PD_MINOR_VERSION > 38) -/* +/* * pd>=0.39 has a verbose() function; older versions don't * btw, this finally makes zexy binary incompatible with older version */ @@ -142,10 +145,10 @@ static void zexy_register(char*object){object=0;} * this should make zexy binary compatible with older pd versions again */ # ifndef __WIN32__ - void verbose(int level, const char *fmt, ...); +void verbose(int level, const char *fmt, ...); # endif #else -/* +/* * on older version we just shut up! */ # define z_verbose -- cgit v1.2.1