Commit 66eea435d03e1bd698e0f8571f20ecf5b1d4695f
'restrict' macro to UPPERCASE
anonymous authored on 1/2/2016, 8:15:29 AMChristopher Snowhill committed on 6/13/2018, 12:10:58 AM
Parent: 662fb884bb4b2003440f893f2649ea98d1db681f
Files changed
src/syntrax/resampler.c | changed |
src/syntrax/resampler.c | ||
---|---|---|
@@ -237,18 +237,18 @@ | ||
237 | 237 | } |
238 | 238 | } |
239 | 239 | |
240 | 240 | |
241 | - | |
241 | + | |
242 | 242 | |
243 | 243 | |
244 | 244 | static const sample_t * resampler_inner_loop( resampler *r, sample_t** out_, |
245 | 245 | sample_t const* out_end, sample_t const in [], int in_size ) |
246 | 246 | { |
247 | 247 | in_size -= write_offset; |
248 | 248 | if ( in_size > 0 ) |
249 | 249 | { |
250 | - sample_t* restrict out = *out_; | |
250 | + sample_t* RESTRICT out = *out_; | |
251 | 251 | sample_t const* const in_end = in + in_size; |
252 | 252 | imp_t const* imp = r->imp; |
253 | 253 | |
254 | 254 | do |
@@ -292,9 +292,9 @@ | ||
292 | 292 | } |
293 | 293 | return in; |
294 | 294 | } |
295 | 295 | |
296 | - | |
296 | + | |
297 | 297 | |
298 | 298 | static int resampler_wrapper( resampler *r, sample_t out [], int* out_size, |
299 | 299 | sample_t const in [], int in_size ) |
300 | 300 | { |
Built with git-ssb-web