diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-03-22 20:58:25 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-03-22 20:58:25 +0000 |
commit | 2b60d55c919e7588f5aff15936e83c300b3660bb (patch) | |
tree | 14d860de7f28083d3756ad91b627de70f26788f6 /src/zexy.h | |
parent | c500bc542cb7cc78d6dac3f7da3bff626056b1aa (diff) |
zexy-2.0:
- use of abstractions for objects that allow it
- some objects are build both as externals and abstractions (as slower fallbacks)
- code-layout is now 1:1 c-file<->object (this should allow for building of zexy as a collection of externals instead as a big library)
- matrix-objects have moved to iemmatrix !!
svn path=/trunk/externals/zexy/; revision=2641
Diffstat (limited to 'src/zexy.h')
-rw-r--r-- | src/zexy.h | 40 |
1 files changed, 35 insertions, 5 deletions
@@ -32,14 +32,44 @@ #include "m_pd.h" -#define VERSION "1.3" +#define VERSION "2.0" #ifdef NT -/* yes, we have beautiful hearts under NT */ -#define HEARTSYMBOL 3 +# pragma warning( disable : 4244 ) +# pragma warning( disable : 4305 ) +# define HEARTSYMBOL 3 +# define sqrtf sqrt +# define fabsf fabs +# define STATIC_INLINE #else -/* but none for linux; indeed the only drawback */ -#define HEARTSYMBOL 169 +# define HEARTSYMBOL 169 #endif +#ifdef MACOSX +# define sqrtf sqrt #endif + + +typedef struct _mypdlist +{ + t_object x_obj; + + int x_n; + t_atom *x_list; +} t_mypdlist; + +#ifdef SINGLE_EXTERNALS +static void zexy_register(char*object){ + if(object!=0){ + post("%s: part of the zexy external "VERSION"", object); + post("\t (l) forum::für::umläute"); + post("\t IOhannes m zmölnig @ IEM"); + post("\t compiled: "__DATE__" "); + } +} +#else +static void zexy_register(char*object){} +#endif /* SINGLE_EXTERNALS */ + + +#endif /* INCLUDE_ZEXY_H__ */ |