From 75b7d3f788c462156b4e84170e3ab4e78187ae50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Thu, 8 Mar 2007 13:10:54 +0000 Subject: provide our own verbose() function, in case pd is lacking one; this is important when compiling the zexy binary against newer pd-versions but really running it on outdated versions svn path=/trunk/externals/zexy/; revision=7480 --- src/zexy.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/zexy.h') diff --git a/src/zexy.h b/src/zexy.h index a27b051..091fd5e 100644 --- a/src/zexy.h +++ b/src/zexy.h @@ -113,6 +113,12 @@ static void zexy_register(char*object){object=0;} * btw, this finally makes zexy binary incompatible with older version */ # define z_verbose verbose + +/* when compiling zexy as library, we also provide now provide a dummy verbose() function, + * which will chime in, when pd is lacking one + * this should make zexy binary compatible with older pd versions again + */ +void verbose(int level, const char *fmt, ...); #else /* * this might not work on compilers other than gcc -- cgit v1.2.1