From 0c6ac2f761a2a8ddcde91a1afc80eeadfe2f0bc1 Mon Sep 17 00:00:00 2001 From: Tom Schouten Date: Fri, 25 Aug 2006 22:38:42 +0000 Subject: creb: removed garbage system/ and include/ files svn path=/trunk/externals/creb/; revision=5742 --- modules/extlib_util.h | 4 ++-- modules/fdn~.c | 2 +- modules/ffpoly.c | 4 ++-- modules/permut~.c | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'modules') diff --git a/modules/extlib_util.h b/modules/extlib_util.h index d1c563d..ea292be 100644 --- a/modules/extlib_util.h +++ b/modules/extlib_util.h @@ -17,7 +17,7 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#ifndef CREB_EXTLIB_UTIL_H +#ifndef CREB_EXTLIB_UTIL_H #define CREB_EXTLIB_UTIL_H #include @@ -47,5 +47,5 @@ typedef union #define IS_DENORMAL(f) (((((t_flint)(f)).i) & 0x7f800000) == 0) - #endif /* CREB_EXTLIB_UTIL_H */ + diff --git a/modules/fdn~.c b/modules/fdn~.c index 2681752..aa67d74 100644 --- a/modules/fdn~.c +++ b/modules/fdn~.c @@ -329,7 +329,7 @@ static void fdn_setupdelayline(t_fdn *x){ int sum, t, n; int mask = x->x_ctl.c_bufsize - 1; int start = x->x_ctl.c_tap[0]; - int *tap = x->x_ctl.c_tap; + t_int *tap = x->x_ctl.c_tap; float *length = x->x_ctl.c_length; float scale = sys_getsr() * .001f; diff --git a/modules/ffpoly.c b/modules/ffpoly.c index 023f29d..c325969 100644 --- a/modules/ffpoly.c +++ b/modules/ffpoly.c @@ -49,7 +49,7 @@ static void ffpoly_compute(t_ffpoly *x, t_floatarg fcoef) int in = (int)fcoef; int fo = x->x_field_order; int po = x->x_poly_order; - int* c = x->x_coef; + t_int* c = x->x_coef; int i, out; in %= fo; @@ -135,7 +135,7 @@ static void *ffpoly_new(t_floatarg fpolyorder, t_floatarg ffieldorder) x->x_poly_order = polyorder; x->x_field_order = fieldorder; - x->x_coef = (int *)malloc((x->x_poly_order + 1) * sizeof(int)); + x->x_coef = (t_int *)malloc((x->x_poly_order + 1) * sizeof(int)); /* set poly to f(x) = x */ ffpoly_coefficients(x, x->x_field_order); diff --git a/modules/permut~.c b/modules/permut~.c index 7738f84..7a4f101 100644 --- a/modules/permut~.c +++ b/modules/permut~.c @@ -30,7 +30,7 @@ typedef struct permutctl { char c_type; - int *c_permutationtable; + t_int *c_permutationtable; int c_blocksize; } t_permutctl; @@ -62,7 +62,7 @@ static void permut_random(t_permut *x, t_floatarg seed) int i,j; int N = x->x_ctl.c_blocksize; int mask = N-1; - int *p = x->x_ctl.c_permutationtable; + t_int *p = x->x_ctl.c_permutationtable; int r, last = 0; //srand(* ((unsigned int *)(&seed))); @@ -103,7 +103,7 @@ static void permut_resize_table(t_permut *x, int size) { if (x->x_ctl.c_permutationtable) free(x->x_ctl.c_permutationtable); - x->x_ctl.c_permutationtable = (int *)malloc(sizeof(int)*size); + x->x_ctl.c_permutationtable = (t_int *)malloc(sizeof(int)*size); x->x_ctl.c_blocksize = size; /* make sure it's initialized */ -- cgit v1.2.1