Skip to content

Commit 4215ffd

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Test Pyodide builds
1 parent 941165f commit 4215ffd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build_sdl.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,10 @@ def get_cdef() -> tuple[str, dict[str, str]]:
391391
)
392392
for name in FLEXIBLE_STRUCTS:
393393
sdl_cdef = sdl_cdef.replace(f"}} {name};", f"...;}} {name};")
394+
395+
# Remove difficult functions
396+
sdl_cdef = "\n".join(line for line in sdl_cdef.splitlines() if "SDL_IOprintf" not in line)
397+
394398
return sdl_cdef + EXTRA_CDEF, parser.known_string_defines
395399

396400

0 commit comments

Comments
 (0)