mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-31 11:50:07 +00:00
Correct return value.
This commit is contained in:
+1
-1
@@ -226,7 +226,7 @@ foreign stbtt {
|
|||||||
// (.ttf) files only contain one font. The number of fonts can be used for
|
// (.ttf) files only contain one font. The number of fonts can be used for
|
||||||
// indexing with the previous function where the index is between zero and one
|
// indexing with the previous function where the index is between zero and one
|
||||||
// less than the total fonts. If an error occurs, -1 is returned.
|
// less than the total fonts. If an error occurs, -1 is returned.
|
||||||
GetNumberOfFonts :: proc(data: [^]byte) -> b32 ---
|
GetNumberOfFonts :: proc(data: [^]byte) -> c.int ---
|
||||||
|
|
||||||
// Each .ttf/.ttc file may have more than one font. Each font has a sequential
|
// Each .ttf/.ttc file may have more than one font. Each font has a sequential
|
||||||
// index number starting from 0. Call this function to get the font offset for
|
// index number starting from 0. Call this function to get the font offset for
|
||||||
|
|||||||
Reference in New Issue
Block a user