Fix python formatting

This commit is contained in:
Susko3 2024-09-22 00:44:50 +01:00
parent 75c49e289e
commit 5fbda17ae9
1 changed files with 5 additions and 2 deletions

View File

@ -27,6 +27,7 @@ SDL3_header_base = "SDL3" # base folder of header files
csproj_root = repository_root / "SDL3-CS"
class Header:
"""Represents a SDL header file that is used in ClangSharp generation."""
@ -130,20 +131,22 @@ headers = [
add("SDL3/SDL_vulkan.h"),
]
def prepare_sdl_source():
subprocess.run([
"git",
"reset",
"--hard",
"HEAD"
], cwd = SDL_root)
], cwd=SDL_root)
subprocess.run([
"git",
"apply",
"--3way",
repository_root / "External" / "SDL-use-proper-types.patch"
], cwd = SDL_root)
], cwd=SDL_root)
def get_sdl_api_dump():
subprocess.run([