mirror of https://github.com/ppy/SDL3-CS.git
Fix python formatting
This commit is contained in:
parent
75c49e289e
commit
5fbda17ae9
|
|
@ -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([
|
||||
|
|
|
|||
Loading…
Reference in New Issue