Skip to content

Commit 1d958b2

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! squash! fixup! Fix CI regressions
1 parent 796f922 commit 1d958b2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

build_libtcod.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,7 @@ def write_hints() -> None:
593593
cdef = re.sub(r"\n#define .*", "", cdef)
594594
cdef = re.sub(r"""extern "Python" \{(.*?)\}""", r"\1", cdef, flags=re.DOTALL)
595595
cdef = re.sub(r"//.*", "", cdef)
596+
cdef = cdef.replace("...;", ";")
596597
ast = c.parse(cdef)
597598
function_collector.visit(ast)
598599

build_sdl.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ def get_cdef() -> tuple[str, dict[str, str]]:
319319
320320
#define _SIZE_T_DEFINED_
321321
typedef int... size_t;
322+
typedef _Bool bool;
322323
323324
#define SDL_oldnames_h_
324325

0 commit comments

Comments
 (0)