X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=genwrap.py;h=da23cb331880292920fa98805f32b92e9c90de51;hb=8b398bfe13b0884191b1fac56f274d395fd9d4dd;hp=b940036e62b10e999a42346479e902a12b8096d9;hpb=be68706254c62406d4924fffa7f43d2b1c17f52e;p=gldbg.git diff --git a/genwrap.py b/genwrap.py index b940036..da23cb3 100755 --- a/genwrap.py +++ b/genwrap.py @@ -205,7 +205,7 @@ out.close() out = open(os.path.join(outdir, "glwrap.funcs"), "w") for f in funcs: - out.write("%s GLAPIENTRY gl%s(%s)\n{\n"%(f[1], f[0], ", ".join("%s %s"%(p[1], p[0]) for p in f[2]))) + out.write("%s APIENTRY gl%s(%s)\n{\n"%(f[1], f[0], ", ".join("%s %s"%(p[1], p[0]) for p in f[2]))) out.write("\tstatic %s (*orig)(%s) = NULL;\n"%(f[1], ", ".join(p[1] for p in f[2]))) if f[1]!="void":