[PD-cvs] pd/src m_fifo.c,1.1.2.11,1.1.2.12

Tim Blechmann timblech at users.sourceforge.net
Fri May 6 11:33:54 CEST 2005


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

Modified Files:
      Tag: devel_0_38
	m_fifo.c 
Log Message:
forgot structure


Index: m_fifo.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/m_fifo.c,v
retrieving revision 1.1.2.11
retrieving revision 1.1.2.12
diff -C2 -d -r1.1.2.11 -r1.1.2.12
*** m_fifo.c	4 May 2005 17:14:34 -0000	1.1.2.11
--- m_fifo.c	6 May 2005 09:33:52 -0000	1.1.2.12
***************
*** 1,3 ****
! ./* Copyright (c) 2004, Tim Blechmann
   * supported by vibrez.net
   * For information on usage and redistribution, and for a DISCLAIMER OF ALL
--- 1,3 ----
! /* Copyright (c) 2004, Tim Blechmann
   * supported by vibrez.net
   * For information on usage and redistribution, and for a DISCLAIMER OF ALL
***************
*** 17,24 ****
  #include "errno.h"
  
  struct _fifo
  {
  	t_fifocell * head;
! 	t_fifocell  * tail;
  	pthread_mutex_t mutex;
  };
--- 17,30 ----
  #include "errno.h"
  
+ typedef struct _fifocell
+ {
+ 	struct _fifocell* next;
+ 	void* data;            /* pointer to our data */
+ } t_fifocell;
+ 
  struct _fifo
  {
  	t_fifocell * head;
! 	t_fifocell * tail;
  	pthread_mutex_t mutex;
  };





More information about the Pd-cvs mailing list