aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2025-06-20 10:47:26 +0100
committergingerBill <bill@gingerbill.org>2025-06-20 10:47:26 +0100
commit62db888ac159a613bb44320d460e4e01639339c0 (patch)
treee84400f608646d63757ef40a91f78b4f28b0967a
parent676727114f124ce2e2f11a75357045e88b09cc7d (diff)
Change `c.int` to `b32`
-rw-r--r--vendor/kb_text_shape/kb_text_shape_procs.odin2
1 files changed, 1 insertions, 1 deletions
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 ---