[PD-cvs] pd/src g_array.c,1.1.1.3.2.2.2.8,1.1.1.3.2.2.2.9

Mathieu Bouchard matju at users.sourceforge.net
Fri Aug 13 17:52:31 CEST 2004


Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21319

Modified Files:
      Tag: impd_0_37
	g_array.c 
Log Message:
replacing post by pd_error


Index: g_array.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/g_array.c,v
retrieving revision 1.1.1.3.2.2.2.8
retrieving revision 1.1.1.3.2.2.2.9
diff -C2 -d -r1.1.1.3.2.2.2.8 -r1.1.1.3.2.2.2.9
*** g_array.c	8 May 2004 19:36:59 -0000	1.1.1.3.2.2.2.8
--- g_array.c	13 Aug 2004 15:52:28 -0000	1.1.1.3.2.2.2.9
***************
*** 629,636 ****
      	    	    glist_getcanvas(glist), x);
      	}
!     	else
!     	{
!     	    post("x, y arrays not yet supported");
!     	}
      }
      else
--- 629,633 ----
      	    	    glist_getcanvas(glist), x);
      	}
!     	else pd_error(z,"x, y arrays not yet supported");
      }
      else
***************
*** 1021,1026 ****
      else if (c)
      {
!     	pd_error(x,"array_read16: endianness is 'l' (low byte first ala INTEL)");
!     	post("... or 'b' (high byte first ala MIPS,DEC,PPC)");
      }
      if (!garray_getfloatarray(x, &nelem, &vec))
--- 1018,1023 ----
      else if (c)
      {
!     	pd_error(x,"array_read16: endianness is 'l' (low byte first ala INTEL) "
!     	"or 'b' (high byte first ala MIPS,DEC,PPC)");
      }
      if (!garray_getfloatarray(x, &nelem, &vec))
***************
*** 1135,1139 ****
      strncpy(filenamebuf, filename->s_name, MAXPDSTRING-10);
      filenamebuf[MAXPDSTRING-10] = 0;
!     if (sizeof(int) != 4) post("write16: only works on 32-bit machines");
      if (aiff)
      {
--- 1132,1136 ----
      strncpy(filenamebuf, filename->s_name, MAXPDSTRING-10);
      filenamebuf[MAXPDSTRING-10] = 0;
!     if (sizeof(int) != 4) pd_error(x,"write16: only works on 32-bit machines");
      if (aiff)
      {





More information about the Pd-cvs mailing list