aboutsummaryrefslogtreecommitdiff
path: root/src/zexy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/zexy.h')
-rw-r--r--src/zexy.h23
1 files changed, 13 insertions, 10 deletions
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