summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/dwt.h
diff options
context:
space:
mode:
authorMatthieu Darbois <mayeut@users.noreply.github.com>2016-09-06 00:49:53 +0200
committerGitHub <noreply@github.com>2016-09-06 00:49:53 +0200
commit9f24b078c7193e886f6cfb329d3469eb1facf68d (patch)
treebe5852416e4793855d599245dc69a4bee14de9ce /src/lib/openjp2/dwt.h
parent51155950eb3320a49835bb05d7867240d4d0cccc (diff)
Change 'restrict' define to 'OPJ_RESTRICT' (#816)
Visual Studio 2015 does not pass regression tests with `__restrict` so kept disabled for MSVC. Need to check proper usage of OPJ_RESTRICT (if correct then there’s probably a bug in vc14) Closes #661
Diffstat (limited to 'src/lib/openjp2/dwt.h')
-rw-r--r--src/lib/openjp2/dwt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/openjp2/dwt.h b/src/lib/openjp2/dwt.h
index 21fe942a..5ff37511 100644
--- a/src/lib/openjp2/dwt.h
+++ b/src/lib/openjp2/dwt.h
@@ -93,7 +93,7 @@ Apply an irreversible inverse DWT transform to a component of an image.
@param tilec Tile component information (current tile)
@param numres Number of resolution levels to decode
*/
-OPJ_BOOL opj_dwt_decode_real(opj_tcd_tilecomp_t* restrict tilec, OPJ_UINT32 numres);
+OPJ_BOOL opj_dwt_decode_real(opj_tcd_tilecomp_t* OPJ_RESTRICT tilec, OPJ_UINT32 numres);
/**
Get the gain of a subband for the irreversible 9-7 DWT.