[PD-cvs] externals/iem16/src configure.ac, 1.1, 1.2 iem16_array.c, 1.2, 1.3 iem16_array_tilde.c, 1.2, 1.3 iem16_table.c, 1.4, 1.5

IOhannes m zmölnig zmoelnig at users.sourceforge.net
Sun Apr 29 12:24:23 CEST 2007


Update of /cvsroot/pure-data/externals/iem16/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24755

Modified Files:
	configure.ac iem16_array.c iem16_array_tilde.c iem16_table.c 
Log Message:
more on the road to M$


Index: configure.ac
===================================================================
RCS file: /cvsroot/pure-data/externals/iem16/src/configure.ac,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** configure.ac	29 Apr 2007 09:54:15 -0000	1.1
--- configure.ac	29 Apr 2007 10:24:20 -0000	1.2
***************
*** 58,61 ****
--- 58,62 ----
  AC_CHECK_LIB(c, main)
  AC_CHECK_LIB(crtdll, fclose)
+ AC_CHECK_LIB(coldname, fdopen)
  
  dnl Replace `main' with a function in -lm:

Index: iem16_array.c
===================================================================
RCS file: /cvsroot/pure-data/externals/iem16/src/iem16_array.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** iem16_array.c	12 Jan 2007 22:16:29 -0000	1.2
--- iem16_array.c	29 Apr 2007 10:24:20 -0000	1.3
***************
*** 42,46 ****
    t_tab16read *x = (t_tab16read *)pd_new(tab16read_class);
    x->x_arrayname = s;
!   outlet_new(&x->x_obj, &s_float);
    return (x);
  }
--- 42,46 ----
    t_tab16read *x = (t_tab16read *)pd_new(tab16read_class);
    x->x_arrayname = s;
!   outlet_new(&x->x_obj, gensym("float"));
    return (x);
  }
***************
*** 103,107 ****
    t_tab16read4 *x = (t_tab16read4 *)pd_new(tab16read4_class);
    x->x_arrayname = s;
!   outlet_new(&x->x_obj, &s_float);
    return (x);
  }
--- 103,107 ----
    t_tab16read4 *x = (t_tab16read4 *)pd_new(tab16read4_class);
    x->x_arrayname = s;
!   outlet_new(&x->x_obj, gensym("float"));
    return (x);
  }

Index: iem16_array_tilde.c
===================================================================
RCS file: /cvsroot/pure-data/externals/iem16/src/iem16_array_tilde.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** iem16_array_tilde.c	12 Jan 2007 22:16:29 -0000	1.2
--- iem16_array_tilde.c	29 Apr 2007 10:24:20 -0000	1.3
***************
*** 111,115 ****
    x->x_arrayname = s;
    outlet_new(&x->x_obj, &s_signal);
!   x->x_bangout = outlet_new(&x->x_obj, &s_bang);
    return (x);
  }
--- 111,115 ----
    x->x_arrayname = s;
    outlet_new(&x->x_obj, &s_signal);
!   x->x_bangout = outlet_new(&x->x_obj, gensym("bang"));
    return (x);
  }
***************
*** 307,311 ****
    t_tab16receive *x = (t_tab16receive *)pd_new(tab16receive_class);
    x->x_arrayname = s;
!   outlet_new(&x->x_obj, &s_signal);
    return (x);
  }
--- 307,311 ----
    t_tab16receive *x = (t_tab16receive *)pd_new(tab16receive_class);
    x->x_arrayname = s;
!   outlet_new(&x->x_obj, gensym("signal"));
    return (x);
  }

Index: iem16_table.c
===================================================================
RCS file: /cvsroot/pure-data/externals/iem16/src/iem16_table.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** iem16_table.c	29 Apr 2007 10:14:02 -0000	1.4
--- iem16_table.c	29 Apr 2007 10:24:20 -0000	1.5
***************
*** 13,16 ****
--- 13,21 ----
  #include <stdio.h>      /* for read/write to files */
  
+ #if (defined(_MSC_VER) && (_MSC_VER > 600))
+ # define fdopen(fd,type) _fdopen(fd,type)
+ #endif
+ 
+ 
  static int am_bigendian(void){
      /* actually this should be in m_pd.h */
***************
*** 171,175 ****
          canvas_getdir(x->x_canvas)->s_name,
              filename->s_name, "", buf, &bufptr, MAXPDSTRING, 1)) < 0 
!                 || !(fd = fdopen(filedesc, BINREADMODE)))
      {
          error("%s: can't open", filename->s_name);
--- 176,181 ----
          canvas_getdir(x->x_canvas)->s_name,
              filename->s_name, "", buf, &bufptr, MAXPDSTRING, 1)) < 0 
!                 || !(fd = fdopen(filedesc, BINREADMODE))
! 	)
      {
          error("%s: can't open", filename->s_name);





More information about the Pd-cvs mailing list