Browse Source

Change `c.int` to `b32`

gingerBill 2 months ago
parent
commit
62db888ac1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vendor/kb_text_shape/kb_text_shape_procs.odin

+ 1 - 1
vendor/kb_text_shape/kb_text_shape_procs.odin

@@ -34,7 +34,7 @@ foreign lib {
 	Cursor            :: proc(Direction: direction) -> cursor  ---
 	Cursor            :: proc(Direction: direction) -> cursor  ---
 	BeginBreak        :: proc(State: ^break_state, MainDirection: direction, JapaneseLineBreakStyle: japanese_line_break_style) ---
 	BeginBreak        :: proc(State: ^break_state, MainDirection: direction, JapaneseLineBreakStyle: japanese_line_break_style) ---
 	BreakStateIsValid :: proc(State: ^break_state) -> b32 ---
 	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) ---
 	BreakFlush        :: proc(State: ^break_state) ---
 	Break             :: proc(State: ^break_state, Break: ^break_type) -> b32 ---
 	Break             :: proc(State: ^break_state, Break: ^break_type) -> b32 ---
 	CodepointToGlyph  :: proc(Font: ^font, Codepoint: rune) -> glyph ---
 	CodepointToGlyph  :: proc(Font: ^font, Codepoint: rune) -> glyph ---