Mercurial > octave
diff src/pr-output.cc @ 10142:829e69ec3110
make OCTAVE_QUIT a function
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Wed, 20 Jan 2010 10:38:00 +0100 |
parents | 2cd940306a06 |
children | cd96d29c5efa |
line wrap: on
line diff
--- a/src/pr-output.cc Wed Jan 20 09:32:02 2010 +0100 +++ b/src/pr-output.cc Wed Jan 20 10:38:00 2010 +0100 @@ -1576,7 +1576,7 @@ { for (octave_idx_type j = 0; j < nc; j++) { - OCTAVE_QUIT; + octave_quit (); pr_plus_format (os, m(i,j)); } @@ -1634,7 +1634,7 @@ for (octave_idx_type j = col; j < lim; j++) { - OCTAVE_QUIT; + octave_quit (); if (i == 0 && j == 0) os << "[ "; @@ -1680,7 +1680,7 @@ for (octave_idx_type j = col; j < lim; j++) { - OCTAVE_QUIT; + octave_quit (); os << " "; @@ -1710,7 +1710,7 @@ { for (octave_idx_type j = 0; j < nc; j++) { - OCTAVE_QUIT; + octave_quit (); pr_plus_format (os, m(i,j)); } @@ -1768,7 +1768,7 @@ for (octave_idx_type j = col; j < lim; j++) { - OCTAVE_QUIT; + octave_quit (); if (j == 0) os << "[ "; @@ -1819,7 +1819,7 @@ for (octave_idx_type j = col; j < lim; j++) { - OCTAVE_QUIT; + octave_quit (); os << " "; @@ -1861,7 +1861,7 @@ \ for (octave_idx_type i = 0; i < m; i++) \ { \ - OCTAVE_QUIT; \ + octave_quit (); \ \ std::string nm = "ans"; \ \ @@ -1975,7 +1975,7 @@ { for (octave_idx_type j = 0; j < nc; j++) { - OCTAVE_QUIT; + octave_quit (); pr_plus_format (os, cm(i,j)); } @@ -2035,7 +2035,7 @@ for (octave_idx_type j = col; j < lim; j++) { - OCTAVE_QUIT; + octave_quit (); if (i == 0 && j == 0) os << "[ "; @@ -2081,7 +2081,7 @@ for (octave_idx_type j = col; j < lim; j++) { - OCTAVE_QUIT; + octave_quit (); os << " "; @@ -2111,7 +2111,7 @@ { for (octave_idx_type j = 0; j < nc; j++) { - OCTAVE_QUIT; + octave_quit (); pr_plus_format (os, cm(i,j)); } @@ -2171,7 +2171,7 @@ for (octave_idx_type j = col; j < lim; j++) { - OCTAVE_QUIT; + octave_quit (); if (j == 0) os << "[ "; @@ -2222,7 +2222,7 @@ for (octave_idx_type j = col; j < lim; j++) { - OCTAVE_QUIT; + octave_quit (); os << " "; @@ -2255,7 +2255,7 @@ { for (octave_idx_type j = 0; j < nc; j++) { - OCTAVE_QUIT; + octave_quit (); pr_plus_format (os, m(i,j)); } @@ -2315,7 +2315,7 @@ for (octave_idx_type j = col; j < lim; j++) { - OCTAVE_QUIT; + octave_quit (); if (j == 0) os << "[ "; @@ -2357,7 +2357,7 @@ for (octave_idx_type j = col; j < lim; j++) { - OCTAVE_QUIT; + octave_quit (); os << " "; @@ -2466,7 +2466,7 @@ { for (octave_idx_type i = 0; i < num_elem; i++) { - OCTAVE_QUIT; + octave_quit (); double val = base + i * increment; @@ -2539,7 +2539,7 @@ for (octave_idx_type i = col; i < lim; i++) { - OCTAVE_QUIT; + octave_quit (); double val = base + i * increment; @@ -2608,7 +2608,7 @@ { for (octave_idx_type i = 0; i < nstr; i++) { - OCTAVE_QUIT; + octave_quit (); std::string row = chm.row_as_string (i); @@ -2999,7 +2999,7 @@ { for (octave_idx_type jj = 0; jj < nc; jj++) { - OCTAVE_QUIT; + octave_quit (); pr_plus_format (os, page(ii,jj)); } @@ -3109,7 +3109,7 @@ { for (octave_idx_type jj = 0; jj < nc; jj++) { - OCTAVE_QUIT; + octave_quit (); os << " "; os << typename octave_print_conv<T>::print_conv_type (page(ii,jj)); } @@ -3137,7 +3137,7 @@ for (octave_idx_type jj = col; jj < lim; jj++) { - OCTAVE_QUIT; + octave_quit (); os << " "; pr_int (os, page(ii,jj), fw); }