add comment about cast
This commit is contained in:
@@ -189,6 +189,8 @@ class Font
|
||||
{
|
||||
#if (lime_cffi && !macro)
|
||||
var glyphs:Dynamic = NativeCFFI.lime_font_get_glyph_indices(src, characters);
|
||||
// lime_font_get_glyph_indices returns Array<Int>
|
||||
// cast it to Array<Glyph> instead (Glyph is an abstract)
|
||||
return cast glyphs;
|
||||
#else
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user