diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2008-01-03 12:28:27 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2008-01-03 12:28:27 +0000 |
commit | c3a067dc355fc57a5759d4e9a97bcbcd878caf13 (patch) | |
tree | 2035f23ed32392b7d7b92baf9fac1d4dc23e4cac /src/mtx_cumsum.c | |
parent | 205992dca4afb92591c09353373244ce14204b52 (diff) |
pedantic and C99
svn path=/trunk/externals/iem/iemmatrix/; revision=9114
Diffstat (limited to 'src/mtx_cumsum.c')
-rw-r--r-- | src/mtx_cumsum.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mtx_cumsum.c b/src/mtx_cumsum.c index 8e98052..dfc8640 100644 --- a/src/mtx_cumsum.c +++ b/src/mtx_cumsum.c @@ -157,7 +157,7 @@ static void mTXCumsumMatrix (MTXCumsum *mtx_cumsum_obj, t_symbol *s, t_float *y = mtx_cumsum_obj->y; int count; - // size check + /* size check */ if (!size) { post("mtx_cumsum: invalid dimensions"); return; @@ -192,8 +192,8 @@ static void mTXCumsumMatrix (MTXCumsum *mtx_cumsum_obj, t_symbol *s, mtx_cumsum_obj->x = x; mtx_cumsum_obj->y = y; - // main part - // reading matrix from inlet + /* main part */ + /* reading matrix from inlet */ if ((mtx_cumsum_obj->cumsum_mode == col_sym) || (mtx_cumsum_obj->cumsum_mode == col_sym2)) { readFloatFromListModulo (size, columns, list_ptr, x); @@ -203,7 +203,7 @@ static void mTXCumsumMatrix (MTXCumsum *mtx_cumsum_obj, t_symbol *s, else readFloatFromList (size, list_ptr, x); - // calculating cumsum + /* calculating cumsum */ if (mtx_cumsum_obj->cumsum_direction == -1) { if ((mtx_cumsum_obj->cumsum_mode == row_sym) || (mtx_cumsum_obj->cumsum_mode == col_sym) || @@ -231,7 +231,7 @@ static void mTXCumsumMatrix (MTXCumsum *mtx_cumsum_obj, t_symbol *s, x = mtx_cumsum_obj->x; y = mtx_cumsum_obj->y; - // writing matrix to outlet + /* writing matrix to outlet */ if ((mtx_cumsum_obj->cumsum_mode == col_sym) || (mtx_cumsum_obj->cumsum_mode == col_sym2)) { columns = mtx_cumsum_obj->columns; |