mirror of https://github.com/libsdl-org/SDL.git
gendynapi.py: don't generate parameter for '...' - corrected
This commit is contained in:
parent
f442d0a0ef
commit
cce1341b5b
|
|
@ -403,6 +403,10 @@ def add_dyn_api(proc):
|
||||||
if argtype == "void":
|
if argtype == "void":
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
# Special case, '...' has no parameter name
|
||||||
|
if argtype == "...":
|
||||||
|
continue
|
||||||
|
|
||||||
# Var name: a, b, c, ...
|
# Var name: a, b, c, ...
|
||||||
varname = chr(i)
|
varname = chr(i)
|
||||||
i += 1
|
i += 1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue