mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-21 14:44:09 +00:00
dwrite: Fix vtable variables types.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e89a41a963
commit
d905919cfa
|
@ -1815,7 +1815,8 @@ static HRESULT WINAPI dwritetextanalyzer2_CheckTypographicFeature(IDWriteTextAna
|
|||
return hr;
|
||||
}
|
||||
|
||||
static const struct IDWriteTextAnalyzer2Vtbl textanalyzervtbl = {
|
||||
static const IDWriteTextAnalyzer2Vtbl textanalyzervtbl =
|
||||
{
|
||||
dwritetextanalyzer_QueryInterface,
|
||||
dwritetextanalyzer_AddRef,
|
||||
dwritetextanalyzer_Release,
|
||||
|
@ -1891,7 +1892,8 @@ static ULONG WINAPI dwritenumbersubstitution_Release(IDWriteNumberSubstitution *
|
|||
return ref;
|
||||
}
|
||||
|
||||
static const struct IDWriteNumberSubstitutionVtbl numbersubstitutionvtbl = {
|
||||
static const IDWriteNumberSubstitutionVtbl numbersubstitutionvtbl =
|
||||
{
|
||||
dwritenumbersubstitution_QueryInterface,
|
||||
dwritenumbersubstitution_AddRef,
|
||||
dwritenumbersubstitution_Release
|
||||
|
|
|
@ -4567,7 +4567,7 @@ err:
|
|||
return hr;
|
||||
}
|
||||
|
||||
static const struct IDWriteFontFileEnumeratorVtbl systemfontfileenumeratorvtbl =
|
||||
static const IDWriteFontFileEnumeratorVtbl systemfontfileenumeratorvtbl =
|
||||
{
|
||||
systemfontfileenumerator_QueryInterface,
|
||||
systemfontfileenumerator_AddRef,
|
||||
|
@ -5450,7 +5450,7 @@ static HRESULT WINAPI localfontfileloader_GetLastWriteTimeFromKey(IDWriteLocalFo
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
static const struct IDWriteLocalFontFileLoaderVtbl localfontfileloadervtbl =
|
||||
static const IDWriteLocalFontFileLoaderVtbl localfontfileloadervtbl =
|
||||
{
|
||||
localfontfileloader_QueryInterface,
|
||||
localfontfileloader_AddRef,
|
||||
|
@ -5873,7 +5873,7 @@ static HRESULT WINAPI glyphrunanalysis_GetAlphaBlendParams(IDWriteGlyphRunAnalys
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
static const struct IDWriteGlyphRunAnalysisVtbl glyphrunanalysisvtbl =
|
||||
static const IDWriteGlyphRunAnalysisVtbl glyphrunanalysisvtbl =
|
||||
{
|
||||
glyphrunanalysis_QueryInterface,
|
||||
glyphrunanalysis_AddRef,
|
||||
|
|
|
@ -911,7 +911,8 @@ static HRESULT WINAPI gdiinterop1_GetMatchingFontsByLOGFONT(IDWriteGdiInterop1 *
|
|||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static const struct IDWriteGdiInterop1Vtbl gdiinteropvtbl = {
|
||||
static const IDWriteGdiInterop1Vtbl gdiinteropvtbl =
|
||||
{
|
||||
gdiinterop_QueryInterface,
|
||||
gdiinterop_AddRef,
|
||||
gdiinterop_Release,
|
||||
|
@ -1022,7 +1023,7 @@ static HRESULT WINAPI memresourcestream_GetLastWriteTime(IDWriteFontFileStream *
|
|||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static const struct IDWriteFontFileStreamVtbl memresourcestreamvtbl =
|
||||
static const IDWriteFontFileStreamVtbl memresourcestreamvtbl =
|
||||
{
|
||||
memresourcestream_QueryInterface,
|
||||
memresourcestream_AddRef,
|
||||
|
@ -1082,7 +1083,8 @@ static HRESULT WINAPI memresourceloader_CreateStreamFromKey(IDWriteFontFileLoade
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
static const struct IDWriteFontFileLoaderVtbl memresourceloadervtbl = {
|
||||
static const IDWriteFontFileLoaderVtbl memresourceloadervtbl =
|
||||
{
|
||||
memresourceloader_QueryInterface,
|
||||
memresourceloader_AddRef,
|
||||
memresourceloader_Release,
|
||||
|
|
|
@ -204,7 +204,7 @@ static DWRITE_RENDERING_MODE1 WINAPI renderingparams3_GetRenderingMode1(IDWriteR
|
|||
return params->mode;
|
||||
}
|
||||
|
||||
static const struct IDWriteRenderingParams3Vtbl renderingparamsvtbl =
|
||||
static const IDWriteRenderingParams3Vtbl renderingparamsvtbl =
|
||||
{
|
||||
renderingparams_QueryInterface,
|
||||
renderingparams_AddRef,
|
||||
|
@ -1756,7 +1756,7 @@ static HRESULT WINAPI dwritefactory7_GetSystemFontCollection(IDWriteFactory7 *if
|
|||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static const struct IDWriteFactory7Vtbl dwritefactoryvtbl =
|
||||
static const IDWriteFactory7Vtbl dwritefactoryvtbl =
|
||||
{
|
||||
dwritefactory_QueryInterface,
|
||||
dwritefactory_AddRef,
|
||||
|
@ -1831,7 +1831,7 @@ static ULONG WINAPI shareddwritefactory_Release(IDWriteFactory7 *iface)
|
|||
return 1;
|
||||
}
|
||||
|
||||
static const struct IDWriteFactory7Vtbl shareddwritefactoryvtbl =
|
||||
static const IDWriteFactory7Vtbl shareddwritefactoryvtbl =
|
||||
{
|
||||
dwritefactory_QueryInterface,
|
||||
shareddwritefactory_AddRef,
|
||||
|
|
Loading…
Reference in a new issue