From 62db888ac159a613bb44320d460e4e01639339c0 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Fri, 20 Jun 2025 10:47:26 +0100 Subject: [PATCH] Change `c.int` to `b32` --- vendor/kb_text_shape/kb_text_shape_procs.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/kb_text_shape/kb_text_shape_procs.odin b/vendor/kb_text_shape/kb_text_shape_procs.odin index 991aaeab6..2e5a4706b 100644 --- a/vendor/kb_text_shape/kb_text_shape_procs.odin +++ b/vendor/kb_text_shape/kb_text_shape_procs.odin @@ -34,7 +34,7 @@ foreign lib { Cursor :: proc(Direction: direction) -> cursor --- BeginBreak :: proc(State: ^break_state, MainDirection: direction, JapaneseLineBreakStyle: japanese_line_break_style) --- BreakStateIsValid :: proc(State: ^break_state) -> b32 --- - BreakAddCodepoint :: proc(State: ^break_state, Codepoint: rune, PositionIncrement: u32, EndOfText: c.int) --- + BreakAddCodepoint :: proc(State: ^break_state, Codepoint: rune, PositionIncrement: u32, EndOfText: b32) --- BreakFlush :: proc(State: ^break_state) --- Break :: proc(State: ^break_state, Break: ^break_type) -> b32 --- CodepointToGlyph :: proc(Font: ^font, Codepoint: rune) -> glyph ---