From 541ab13ab9aaf849014d81d9159bd12a03320c74 Mon Sep 17 00:00:00 2001 From: musil Date: Wed, 8 Nov 2006 13:24:10 +0000 Subject: changed sig* to *_tilde #if MSC_VER is obsolete replaced all float by t_float svn path=/trunk/externals/iemlib/; revision=6231 --- src/iemlib1/forpp.c | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'src/iemlib1/forpp.c') diff --git a/src/iemlib1/forpp.c b/src/iemlib1/forpp.c index b1ddc9a..bbee77a 100644 --- a/src/iemlib1/forpp.c +++ b/src/iemlib1/forpp.c @@ -3,17 +3,9 @@ iemlib1 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */ -#ifdef _MSC_VER -#pragma warning( disable : 4244 ) -#pragma warning( disable : 4305 ) -#endif - #include "m_pd.h" #include "iemlib.h" -#include -#include -#include /* ----------------------------- for++ -------------------------------- */ /* -- an internal timed counter (start-, stop-number and metro-time) -- */ @@ -23,7 +15,7 @@ typedef struct _forpp t_object x_obj; int x_beg; int x_end; - float x_delay; + t_float x_delay; int x_cur; int x_incr; void *x_out_end; @@ -108,7 +100,7 @@ static void forpp_stop(t_forpp *x) clock_unset(x->x_clock2); } -static void forpp_float(t_forpp *x, t_float beg) +static void forpp_float(t_forpp *x, t_floatarg beg) { x->x_beg = (int)beg; if(x->x_end < x->x_beg) @@ -117,7 +109,7 @@ static void forpp_float(t_forpp *x, t_float beg) x->x_incr = 1; } -static void forpp_ft1(t_forpp *x, t_float end) +static void forpp_ft1(t_forpp *x, t_floatarg end) { x->x_end = (int)end; if(x->x_end < x->x_beg) @@ -126,7 +118,7 @@ static void forpp_ft1(t_forpp *x, t_float end) x->x_incr = 1; } -static void forpp_ft2(t_forpp *x, t_float delay) +static void forpp_ft2(t_forpp *x, t_floatarg delay) { if(delay < 0.0) delay = 0.0; -- cgit v1.2.1