aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/filters/nfc.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-10-27 18:58:58 -0700
committerChris Robinson <[email protected]>2018-10-29 10:10:37 -0700
commitfd1361c1982e28fe4be287cb41ae24c3fc926ae8 (patch)
treebc38cbff54709927bf4586a9b577e02c04b42a7b /Alc/filters/nfc.h
parent5148a73a7bc8cc0cad1e157930c936c75e40da2e (diff)
Add a RESTRICT macro to help with C++ compatibility
Diffstat (limited to 'Alc/filters/nfc.h')
-rw-r--r--Alc/filters/nfc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/filters/nfc.h b/Alc/filters/nfc.h
index 12a5a18f..e02c00d8 100644
--- a/Alc/filters/nfc.h
+++ b/Alc/filters/nfc.h
@@ -38,12 +38,12 @@ void NfcFilterCreate(NfcFilter *nfc, const float w0, const float w1);
void NfcFilterAdjust(NfcFilter *nfc, const float w0);
/* Near-field control filter for first-order ambisonic channels (1-3). */
-void NfcFilterProcess1(NfcFilter *nfc, float *restrict dst, const float *restrict src, const int count);
+void NfcFilterProcess1(NfcFilter *nfc, float *RESTRICT dst, const float *RESTRICT src, const int count);
/* Near-field control filter for second-order ambisonic channels (4-8). */
-void NfcFilterProcess2(NfcFilter *nfc, float *restrict dst, const float *restrict src, const int count);
+void NfcFilterProcess2(NfcFilter *nfc, float *RESTRICT dst, const float *RESTRICT src, const int count);
/* Near-field control filter for third-order ambisonic channels (9-15). */
-void NfcFilterProcess3(NfcFilter *nfc, float *restrict dst, const float *restrict src, const int count);
+void NfcFilterProcess3(NfcFilter *nfc, float *RESTRICT dst, const float *RESTRICT src, const int count);
#endif /* FILTER_NFC_H */