diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-25 05:47:19 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-25 05:47:19 +0200 |
commit | 735b97fa6e91dea08f4ea9a0cab92ebf4cfda033 (patch) | |
tree | 880053440df77577db5d44fb47ae9269348c2c86 /src/fake-w32-gdi.h | |
parent | m + gamma-x-randr: get output and output info (diff) | |
download | libgamma-735b97fa6e91dea08f4ea9a0cab92ebf4cfda033.tar.gz libgamma-735b97fa6e91dea08f4ea9a0cab92ebf4cfda033.tar.bz2 libgamma-735b97fa6e91dea08f4ea9a0cab92ebf4cfda033.tar.xz |
more restrict
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/fake-w32-gdi.h')
-rw-r--r-- | src/fake-w32-gdi.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/fake-w32-gdi.h b/src/fake-w32-gdi.h index 85fcfc9..3d3b412 100644 --- a/src/fake-w32-gdi.h +++ b/src/fake-w32-gdi.h @@ -52,14 +52,15 @@ int GetDeviceCaps(HDC hDC, int nIndex) __attribute__((const)); #define CM_GAMMA_RAMP 1 /* http://msdn.microsoft.com/en-us/library/windows/desktop/dd372194(v=vs.85).aspx */ -BOOL SetDeviceGammaRamp(HDC hDC, LPVOID lpRamp); +BOOL SetDeviceGammaRamp(HDC hDC, LPVOID restrict lpRamp); /* http://msdn.microsoft.com/en-us/library/windows/desktop/dd316946(v=vs.85).aspx */ -BOOL GetDeviceGammaRamp(HDC hDC, LPVOID lpRamp); +BOOL GetDeviceGammaRamp(HDC hDC, LPVOID restrict lpRamp); /* http://msdn.microsoft.com/en-us/library/windows/desktop/dd183490(v=vs.85).aspx */ -HDC CreateDC(LPCTSTR lpszDriver, LPCTSTR lpszDevice, void* lpszOutput, void* lpInitData); +HDC CreateDC(LPCTSTR restrict lpszDriver, LPCTSTR restrict lpszDevice, + void* restrict lpszOutput, void* restrict lpInitData); #define TEXT(X) ((LPCTSTR)(X)) /* http://msdn.microsoft.com/en-us/library/windows/desktop/dd183569(v=vs.85).aspx */ @@ -73,7 +74,8 @@ typedef DISPLAY_DEVICE* PDISPLAY_DEVICE; #define DISPLAY_DEVICE_ACTIVE 1 /* http://msdn.microsoft.com/en-us/library/windows/desktop/dd162609(v=vs.85).aspx */ -BOOL EnumDisplayDevices(LPCTSTR lpDevice, DWORD iDevNum, PDISPLAY_DEVICE lpDisplayDevice, DWORD dwFlags); +BOOL EnumDisplayDevices(LPCTSTR restrict lpDevice, DWORD iDevNum, + PDISPLAY_DEVICE restrict lpDisplayDevice, DWORD dwFlags); #endif |