Update of /cvsroot/pure-data/externals/build/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19936/build/include
Modified Files: m_pd.h Log Message: removed old unused m_pd.h and updated the flatspace build system with m_pd.h from 0.40.1
Index: m_pd.h =================================================================== RCS file: /cvsroot/pure-data/externals/build/include/m_pd.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** m_pd.h 12 Apr 2005 15:59:02 -0000 1.4 --- m_pd.h 11 Nov 2006 20:50:32 -0000 1.5 *************** *** 10,14 ****
#define PD_MAJOR_VERSION 0 ! #define PD_MINOR_VERSION 38
/* old name for "MSW" flag -- we have to take it for the sake of many old --- 10,16 ----
#define PD_MAJOR_VERSION 0 ! #define PD_MINOR_VERSION 40 ! #define PD_BUGFIX_VERSION 1 ! #define PD_TEST_VERSION ""
/* old name for "MSW" flag -- we have to take it for the sake of many old *************** *** 18,27 **** #endif
! #ifdef MSW /* #pragma warning( disable : 4091 ) */ #pragma warning( disable : 4305 ) /* uncast const double to float */ #pragma warning( disable : 4244 ) /* uncast float/int conversion etc. */ #pragma warning( disable : 4101 ) /* unused automatic variables */ ! #endif /* MSW */
/* the external storage class is "extern" in UNIX; in MSW it's ugly. */ --- 20,30 ---- #endif
! /* These pragmas are only used for MSVC, not MinGW or Cygwin hans@at.or.at */ ! #ifdef _MSC_VER /* #pragma warning( disable : 4091 ) */ #pragma warning( disable : 4305 ) /* uncast const double to float */ #pragma warning( disable : 4244 ) /* uncast float/int conversion etc. */ #pragma warning( disable : 4101 ) /* unused automatic variables */ ! #endif /* _MSC_VER */
/* the external storage class is "extern" in UNIX; in MSW it's ugly. */ *************** *** 288,291 **** --- 291,296 ---- EXTERN int binbuf_read(t_binbuf *b, char *filename, char *dirname, int crflag); + EXTERN int binbuf_read_via_canvas(t_binbuf *b, char *filename, t_canvas *canvas, + int crflag); EXTERN int binbuf_read_via_path(t_binbuf *b, char *filename, char *dirname, int crflag); *************** *** 338,341 **** --- 343,347 ---- EXTERN t_inlet *floatinlet_new(t_object *owner, t_float *fp); EXTERN t_inlet *symbolinlet_new(t_object *owner, t_symbol **sp); + EXTERN t_inlet *signalinlet_new(t_object *owner, t_float f); EXTERN void inlet_free(t_inlet *x);
*************** *** 366,369 **** --- 372,377 ---- EXTERN int sys_fontheight(int fontsize); 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);
/* ---------------- widget behaviors ---------------------- */ *************** *** 437,440 **** --- 445,449 ---- EXTERN void endpost(void); EXTERN void error(const char *fmt, ...); + EXTERN void verbose(int level, const char *fmt, ...); EXTERN void bug(const char *fmt, ...); EXTERN void pd_error(void *object, const char *fmt, ...); *************** *** 455,461 ****
! /* ------------ threading ------------------- */ ! /* T.Grill - see m_sched.c */ ! EXTERN void sys_lock(void); EXTERN void sys_unlock(void); --- 464,468 ----
! /* ------------ threading ------------------- */ EXTERN void sys_lock(void); EXTERN void sys_unlock(void); *************** *** 479,485 **** struct _signal *s_nextfree; /* next in freelist */ struct _signal *s_nextused; /* next in used list */ } t_signal;
- typedef t_int *(*t_perfroutine)(t_int *args);
--- 486,492 ---- struct _signal *s_nextfree; /* next in freelist */ struct _signal *s_nextused; /* next in used list */ + int s_vecsize; /* allocated size of array in points */ } t_signal;
typedef t_int *(*t_perfroutine)(t_int *args);
*************** *** 516,521 **** EXTERN void canvas_resume_dsp(int oldstate); EXTERN void canvas_update_dsp(void);
! /* IOhannes { (up/downsampling) */ typedef struct _resample { --- 523,529 ---- EXTERN void canvas_resume_dsp(int oldstate); EXTERN void canvas_update_dsp(void); + EXTERN int canvas_dspstate;
! /* up/downsampling */ typedef struct _resample { *************** *** 541,545 **** EXTERN void resamplefrom_dsp(t_resample *x, t_sample *in, int insize, int outsize, int method); EXTERN void resampleto_dsp(t_resample *x, t_sample *out, int insize, int outsize, int method); - /* } IOhannes */
/* ----------------------- utility functions for signals -------------- */ --- 549,552 ----