[PD-cvs] externals/zexy/src zexy.h,1.13,1.14
IOhannes m zmölnig
zmoelnig at users.sourceforge.net
Wed Dec 21 10:53:26 CET 2005
- Previous message: [PD-cvs] externals/zexy/src zexy.h, 1.12, 1.13 index.c, 1.9, 1.10 lifop.c, 1.6, 1.7 fifop.c, 1.8, 1.9
- Next message: [PD-cvs] externals/zexy README.txt,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/pure-data/externals/zexy/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17222
Modified Files:
zexy.h
Log Message:
revert changes of verbose() since it didn't really work out (we would have needed special versions of post() and verbose() that support vararg-pointers)
Index: zexy.h
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/zexy.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** zexy.h 21 Dec 2005 09:15:20 -0000 1.13
--- zexy.h 21 Dec 2005 09:53:24 -0000 1.14
***************
*** 52,57 ****
#include <math.h>
- #include <stdarg.h>
-
#define VERSION "2.1"
--- 52,55 ----
***************
*** 103,125 ****
#endif /* ZEXY_LIBRARY */
- static void z_verbose(int level, char*fmt, ...)
- {
- va_list ap;
- va_start(ap, fmt);
-
#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
*/
! verbose(level, fmt, ap);
#else
! /*
! * fall back to a simple post...
! */
! post(fmt, ap);
#endif
- va_end(ap);
- }
#endif /* INCLUDE_ZEXY_H__ */
--- 101,121 ----
#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
*/
! # define z_verbose verbose
#else
! /*
! * this might not work on compilers other than gcc
! * is it ISO-C99 or just a gnu-cpp thing ?
! # define z_verbose(level, format, ...) post(format, ## __VA_ARGS__)
! *
! * so we make it simpler: on older version we just shut up!
! */
! # define z_verbose
#endif
#endif /* INCLUDE_ZEXY_H__ */
- Previous message: [PD-cvs] externals/zexy/src zexy.h, 1.12, 1.13 index.c, 1.9, 1.10 lifop.c, 1.6, 1.7 fifop.c, 1.8, 1.9
- Next message: [PD-cvs] externals/zexy README.txt,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Pd-cvs
mailing list