mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 03:18:13 +00:00
Updated add_symbol_to_oldnames
This commit is contained in:
@@ -99,7 +99,7 @@ def add_symbol_to_oldnames(header, oldname, newname):
|
|||||||
content_added = False
|
content_added = False
|
||||||
else:
|
else:
|
||||||
raise Exception("add_symbol_to_oldnames(): expected mode 0")
|
raise Exception("add_symbol_to_oldnames(): expected mode 0")
|
||||||
elif line == "#else /* !SDL_ENABLE_OLD_NAMES */":
|
elif line == "#elif !defined(SDL_DISABLE_OLD_NAMES)":
|
||||||
if mode == 1:
|
if mode == 1:
|
||||||
if not section_added:
|
if not section_added:
|
||||||
i = add_line(lines, i, section)
|
i = add_line(lines, i, section)
|
||||||
|
Reference in New Issue
Block a user