diff options
-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 */ |