X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=specs%2Fwglapi.py;h=f4b625ac60fae45a4b56b539a7912c2a83fe436c;hb=c8695f74ce1ee6a93dee4b3f7da5a70a64706c82;hp=ff789377027a5381ff429e44bee5ff5a0ffccdf5;hpb=632a78d5c90941c896fa3c7156131f27c5a58b24;p=apitrace diff --git a/specs/wglapi.py b/specs/wglapi.py index ff78937..f4b625a 100644 --- a/specs/wglapi.py +++ b/specs/wglapi.py @@ -32,7 +32,7 @@ from winapi import * from wglenum import * -wglapi = API("WGL") +wglapi = Module("WGL") HGLRC = Alias("HGLRC", HANDLE) @@ -175,7 +175,7 @@ wglapi.addFunctions([ StdFunction(BOOL, "wglRestoreBufferRegionARB", [(HANDLE, "hRegion"), (Int, "x"), (Int, "y"), (Int, "width"), (Int, "height"), (Int, "xSrc"), (Int, "ySrc")]), # WGL_ARB_extensions_string - StdFunction(Const(CString), "wglGetExtensionsStringARB", [(HDC, "hdc")], sideeffects=False), + StdFunction(ConstCString, "wglGetExtensionsStringARB", [(HDC, "hdc")], sideeffects=False), # WGL_ARB_pixel_format StdFunction(BOOL, "wglGetPixelFormatAttribivARB", [(HDC, "hdc"), (Int, "iPixelFormat"), (Int, "iLayerPlane"), (UINT, "nAttributes"), (Array(WGLenum, "nAttributes"), "piAttributes"), Out(Array(Int, "nAttributes"), "piValues")], sideeffects=False), @@ -202,7 +202,7 @@ wglapi.addFunctions([ StdFunction(HGLRC, "wglCreateContextAttribsARB", [(HDC, "hDC"), (HGLRC, "hShareContext"), (Array(Const(WGLenum), "_AttribPairList_size(attribList)"), "attribList")]), # WGL_EXT_extensions_string - StdFunction(Const(CString), "wglGetExtensionsStringEXT", [], sideeffects=False), + StdFunction(ConstCString, "wglGetExtensionsStringEXT", [], sideeffects=False), # WGL_EXT_make_current_read StdFunction(BOOL, "wglMakeContextCurrentEXT", [(HDC, "hDrawDC"), (HDC, "hReadDC"), (HGLRC, "hglrc")]),