From 0ef81769710b8da66b7777cd7f8491edf7086764 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Tue, 9 Dec 2025 09:02:52 +0000 Subject: [PATCH] `kbts.BreakAddCodepoint` to use `EndOfText: 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 08dd4c300..caf7c4b9b 100644 --- a/vendor/kb_text_shape/kb_text_shape_procs.odin +++ b/vendor/kb_text_shape/kb_text_shape_procs.odin @@ -246,7 +246,7 @@ GlyphIteratorNext :: proc "contextless" (It: ^glyph_iterator) -> (Glyph: ^glyph, @(default_calling_convention="c", link_prefix="kbts_", require_results) foreign lib { BreakBegin :: proc(State: ^break_state, ParagraphDirection: direction, JapaneseLineBreakStyle: japanese_line_break_style, ConfigFlags: break_config_flags) --- - BreakAddCodepoint :: proc(State: ^break_state, Codepoint: rune, PositionIncrement: c.int, EndOfText: c.int) --- + BreakAddCodepoint :: proc(State: ^break_state, Codepoint: rune, PositionIncrement: c.int, EndOfText: b32) --- BreakEnd :: proc(State: ^break_state) --- }