From: José Fonseca Date: Tue, 8 May 2012 11:09:42 +0000 (+0100) Subject: Fix typos in earlier commit. X-Git-Url: https://git.cworth.org/git?p=apitrace;a=commitdiff_plain;h=3f174378e957e44beb3d1521ff003bcaaadd85b8 Fix typos in earlier commit. Should have actually looked at the build output before pushing... --- diff --git a/specs/d3dcommon.py b/specs/d3dcommon.py index e31b0c9..9486ba8 100644 --- a/specs/d3dcommon.py +++ b/specs/d3dcommon.py @@ -304,7 +304,7 @@ D3D10_SHADER_MACRO = Struct('D3D10_SHADER_MACRO', [ ID3D10Blob = Interface('ID3D10Blob', IUnknown) ID3D10Blob.methods += [ StdMethod(LPVOID, 'GetBufferPointer', [], sideeffects=False), - StdMethod(SIZE_T, 'GetBufferSize', []), sideeffects=False, + StdMethod(SIZE_T, 'GetBufferSize', [], sideeffects=False), ] LPD3D10BLOB = ObjPointer(ID3D10Blob) diff --git a/specs/dxgi.py b/specs/dxgi.py index 0830cab..5c7925e 100644 --- a/specs/dxgi.py +++ b/specs/dxgi.py @@ -167,7 +167,7 @@ DXGI_MAP = Flags(UINT, [ ]) IDXGISurface.methods += [ - StdMethod(HRESULT, "GetDesc", [Out(Pointer(DXGI_SURFACE_DESC), "pDesc")]), sideeffects=False, + StdMethod(HRESULT, "GetDesc", [Out(Pointer(DXGI_SURFACE_DESC), "pDesc")], sideeffects=False), StdMethod(HRESULT, "Map", [Out(Pointer(DXGI_MAPPED_RECT), "pLockedRect"), (DXGI_MAP, "MapFlags")]), StdMethod(HRESULT, "Unmap", []), ]