diff options
author | N.N. <matju@users.sourceforge.net> | 2009-06-03 02:04:21 +0000 |
---|---|---|
committer | N.N. <matju@users.sourceforge.net> | 2009-06-03 02:04:21 +0000 |
commit | 86e47c835b0cad6e6ca2ba7dbaf3ae695a4e7dfc (patch) | |
tree | 62ef26b6b44d4eb6dab63461c8e66173ca01abf2 | |
parent | 727cbee4fb6826d514b039ebd2c0f3d26ccbf18e (diff) |
improved DESIRE macro
svn path=/trunk/; revision=11638
-rw-r--r-- | desiredata/src/desire.h | 2 | ||||
-rw-r--r-- | desiredata/src/m_pd.h | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/desiredata/src/desire.h b/desiredata/src/desire.h index 8d092e44..cc284001 100644 --- a/desiredata/src/desire.h +++ b/desiredata/src/desire.h @@ -38,7 +38,7 @@ */ #ifndef DESIRE -#define DESIRE +#define DESIRE 1 #endif #ifndef __DESIRE_H #define __DESIRE_H diff --git a/desiredata/src/m_pd.h b/desiredata/src/m_pd.h index eb71c53a..b75b9e2a 100644 --- a/desiredata/src/m_pd.h +++ b/desiredata/src/m_pd.h @@ -92,6 +92,7 @@ public: extern "C" { #endif +#define DESIRE 1 #define PD_MAJOR_VERSION 1 #define PD_MINOR_VERSION 0 #define PD_DEVEL_VERSION 0 @@ -578,6 +579,10 @@ EXTERN void canvas_dataproperties(t_glist *x, t_scalar *sc, t_binbuf *b); EXTERN int canvas_open( t_canvas *x, const char *name, const char *ext, char * dirresult, char **nameresult, unsigned int size, int bin); EXTERN int canvas_open2(t_canvas *x, const char *name, const char *ext, char **dirresult, char **nameresult, int bin); +// new abstracted calls +EXTERN t_gobj *canvas_first(t_canvas *x); +EXTERN t_gobj *gobj_next(t_gobj *x); + /* -------------------- classes -------------- */ #define CLASS_DEFAULT 0 /* flags for new classes below */ |