[PD-cvs] pd/src m_memory.c,1.1.1.2.2.6,1.1.1.2.2.7

Tim Blechmann timblech at users.sourceforge.net
Thu Oct 21 10:19:06 CEST 2004


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

Modified Files:
      Tag: devel_0_37
	m_memory.c 
Log Message:
copyalignedbytes

Index: m_memory.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/m_memory.c,v
retrieving revision 1.1.1.2.2.6
retrieving revision 1.1.1.2.2.7
diff -C2 -d -r1.1.1.2.2.6 -r1.1.1.2.2.7
*** m_memory.c	20 Oct 2004 21:28:16 -0000	1.1.1.2.2.6
--- m_memory.c	21 Oct 2004 08:19:03 -0000	1.1.1.2.2.7
***************
*** 145,152 ****
  
  /* TB: copy to aligned vector memory */
! void *copybytes(void *src, size_t nbytes)
  {
      void *ret;
!     ret = getbytes(nbytes);
      if (nbytes)
      	memcpy(ret, src, nbytes);
--- 145,152 ----
  
  /* TB: copy to aligned vector memory */
! void *copyalignedbytes(void *src, size_t nbytes)
  {
      void *ret;
!     ret = getalignedbytes(nbytes);
      if (nbytes)
      	memcpy(ret, src, nbytes);





More information about the Pd-cvs mailing list