X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=specs%2Fscripts%2Fglspec.py;h=1511bf3b26568833984529deffc7b7deaf1f57c9;hb=632a78d5c90941c896fa3c7156131f27c5a58b24;hp=ab5957a7d19d4dba78d849cfd366743503cf295d;hpb=e32a797c854b8f7b281fc9e5a4b6e3cafda58f25;p=apitrace diff --git a/specs/scripts/glspec.py b/specs/scripts/glspec.py index ab5957a..1511bf3 100755 --- a/specs/scripts/glspec.py +++ b/specs/scripts/glspec.py @@ -238,7 +238,7 @@ class SpecParser(LineParser): length = "%s" % length arg_type = '%s(%s, %s)' % (constructor, base_type, length) else: - length = length.replace("COMPSIZE", "__%s_size" % function_name) + length = length.replace("COMPSIZE", "_%s_size" % function_name) length = length.replace("/", ", ") arg_type = 'Opaque%s(%s, %s)' % (constructor, base_type, length) else: