mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 11:00:11 +01:00
glapi: autogenerate function parameters with no space between * and variable
print "int *v" instead of "int * v". Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20824>
This commit is contained in:
parent
721526227c
commit
a4d813ba54
1 changed files with 4 additions and 1 deletions
|
|
@ -508,7 +508,10 @@ class gl_parameter(object):
|
|||
|
||||
|
||||
def string(self):
|
||||
return self.type_expr.original_string + " " + self.name
|
||||
if self.type_expr.original_string[-1] == '*':
|
||||
return self.type_expr.original_string + self.name
|
||||
else:
|
||||
return self.type_expr.original_string + " " + self.name
|
||||
|
||||
|
||||
def type_string(self):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue