mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 03:18:13 +00:00
gendynapi.py: don't generate parameter for '...' - corrected
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user