X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=specs%2Fglxapi.py;h=85699ead83c0b1a74904c2f8b240800f40149d38;hb=bcfc81b9014c68fb4e34d5cbbeb0aab1c75aa280;hp=f64e79487e84ad6d08689b390d80e113b241463b;hpb=632a78d5c90941c896fa3c7156131f27c5a58b24;p=apitrace diff --git a/specs/glxapi.py b/specs/glxapi.py index f64e794..85699ea 100644 --- a/specs/glxapi.py +++ b/specs/glxapi.py @@ -270,9 +270,9 @@ glxapi.addFunctions([ Function(Void, "glXUseXFont", [(Font, "font"), (Int, "first"), (Int, "count"), (Int, "list")]), # GLX 1.1 and later - Function((Const(String("char *"))), "glXQueryExtensionsString", [(Display, "dpy"), (Int, "screen")]), - Function((Const(String("char *"))), "glXQueryServerString", [(Display, "dpy"), (Int, "screen"), (GLXname, "name")]), - Function((Const(String("char *"))), "glXGetClientString", [(Display, "dpy"), (GLXname, "name")]), + Function((ConstCString), "glXQueryExtensionsString", [(Display, "dpy"), (Int, "screen")]), + Function((ConstCString), "glXQueryServerString", [(Display, "dpy"), (Int, "screen"), (GLXname, "name")]), + Function((ConstCString), "glXGetClientString", [(Display, "dpy"), (GLXname, "name")]), # GLX 1.2 and later Function(Display, "glXGetCurrentDisplay", [], sideeffects=False), @@ -449,8 +449,8 @@ glxapi.addFunctions([ Function(Void, "glXFreeMemoryNV", [(OpaquePointer(Void), "pointer")]), # Must be last - Function(PROC, "glXGetProcAddressARB", [(Alias("const GLubyte *", CString), "procName")]), - Function(PROC, "glXGetProcAddress", [(Alias("const GLubyte *", CString), "procName")]), + Function(PROC, "glXGetProcAddressARB", [(String(Const(GLubyte)), "procName")]), + Function(PROC, "glXGetProcAddress", [(String(Const(GLubyte)), "procName")]), ])