[PD-cvs] pd/src kernel.c, NONE, 1.1.2.1 makefile.in, 1.4.4.2.2.21.2.13, 1.4.4.2.2.21.2.14 m_memory.c, 1.2.4.1.2.1.2.1, NONE m_hash.c, 1.1.2.11, NONE m_atom.c, 1.2.8.2.2.1, NONE m_pd.c, 1.3.8.8.2.3, NONE m_obj.c, 1.2.4.3.2.10.2.10, NONE

Mathieu Bouchard matju at users.sourceforge.net
Wed Dec 13 20:45:37 CET 2006


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

Modified Files:
      Tag: desiredata
	makefile.in 
Added Files:
      Tag: desiredata
	kernel.c 
Removed Files:
      Tag: desiredata
	m_memory.c m_hash.c m_atom.c m_pd.c m_obj.c 
Log Message:
merged m_memory.c m_hash.c m_atom.c m_pd.c m_obj.c as kernel.c


--- m_atom.c DELETED ---

Index: makefile.in
===================================================================
RCS file: /cvsroot/pure-data/pd/src/makefile.in,v
retrieving revision 1.4.4.2.2.21.2.13
retrieving revision 1.4.4.2.2.21.2.14
diff -C2 -d -r1.4.4.2.2.21.2.13 -r1.4.4.2.2.21.2.14
*** makefile.in	9 Dec 2006 15:45:22 -0000	1.4.4.2.2.21.2.13
--- makefile.in	13 Dec 2006 19:45:34 -0000	1.4.4.2.2.21.2.14
***************
*** 22,32 ****
  
  # from DesireData (matju & chun)
! SRCXX = desire.c m_hash.c
  
  # from devel_0_39 (thomas & tim)
! SRC = m_fifo.c m_simd.c
  
  # from pd miller
! SRC += m_pd.c m_class.c m_obj.c m_atom.c m_memory.c m_binbuf.c m_sched.c \
         s_main.c s_inter.c s_loader.c s_path.c s_audio.c s_midi.c \
         d_ugen.c d_ctl.c d_arithmetic.c d_osc.c d_filter.c d_dac.c d_misc.c \
--- 22,33 ----
  
  # from DesireData (matju & chun)
! SRCXX = desire.c
! SRC = kernel.c
  
  # from devel_0_39 (thomas & tim)
! SRC += m_fifo.c m_simd.c
  
  # from pd miller
! SRC += m_class.c m_binbuf.c m_sched.c \
         s_main.c s_inter.c s_loader.c s_path.c s_audio.c s_midi.c \
         d_ugen.c d_ctl.c d_arithmetic.c d_osc.c d_filter.c d_dac.c d_misc.c \

--- m_obj.c DELETED ---

--- m_memory.c DELETED ---

--- m_hash.c DELETED ---

--- NEW FILE: kernel.c ---
/* Copyright (c) 1997-1999 Miller Puckette.
* For information on usage and redistribution, and for a DISCLAIMER OF ALL
* WARRANTIES, see the file, "LICENSE.txt," in this distribution.  */

#include <stdlib.h>
#include <string.h>
#include "desire.h"

/* T.Grill - include SIMD functionality */
#include "m_simd.h"

/* T.Grill - bit alignment for signal vectors (must be a multiple of 8!) */
/* if undefined no alignment occurs */
#ifdef SIMD_BYTEALIGN
    #define VECTORALIGNMENT (SIMD_BYTEALIGN*8)
#else
    #define VECTORALIGNMENT 128
#endif

[...1138 lines suppressed...]
    for (i = x->ob_inlet; i; i = i->i_next, m--) if (i->i_symfrom == &s_signal) {
        if (m == 0)
            return (&i->i_un.iu_floatsignalvalue);
        n++;
    }
    return 0;
}

/* and these are only used in g_io.c... */

int inlet_getsignalindex(t_inlet *x) {
    int n=0; t_inlet *i;
    for (i = x->i_owner->ob_inlet, n = 0; i && i != x; i = i->i_next) if (i->i_symfrom == &s_signal) n++;
    return n;
}
int outlet_getsignalindex(t_outlet *x) {
    int n=0; t_outlet *o;
    for (o = x->o_owner->ob_outlet, n = 0; o && o != x; o = o->o_next) if (o->o_sym == &s_signal) n++;
    return n;
}

--- m_pd.c DELETED ---





More information about the Pd-cvs mailing list