comparison libinterp/corefcn/__dsearchn__.cc @ 22860:0b1e25cc4457

eliminate use of OCTAVE_QUIT macro in C++ sources * __dsearchn__.cc, __magick_read__.cc, filter.cc, find.cc, graphics.cc, quadcc.cc, qz.cc, tsearch.cc audiodevinfo.cc, symrcm.cc, op-int.h, lo-regexp.cc: Use inline octave_quit function instead of OCTAVE_QUIT macro.
author John W. Eaton <jwe@octave.org>
date Sat, 03 Dec 2016 07:12:10 -0500
parents 3a2b891d0b33
children ef4d915df748
comparison
equal deleted inserted replaced
22859:adc66f043cfc 22860:0b1e25cc4457
82 if (d < d0) 82 if (d < d0)
83 { 83 {
84 d0 = d; 84 d0 = d;
85 *pidx = static_cast<double>(j + 1); 85 *pidx = static_cast<double>(j + 1);
86 } 86 }
87 OCTAVE_QUIT; 87 octave_quit ();
88 } 88 }
89 89
90 *pdist++ = d0; 90 *pdist++ = d0;
91 pidx++; 91 pidx++;
92 pxi += n; 92 pxi += n;