vushu / raylib-raku

Raylib bindings for raku
Artistic License 2.0
8 stars 3 forks source link

`load-font-ex` should take a `CArray[int32]` for the codepoints parameter #1

Closed ab5tract closed 9 months ago

ab5tract commented 9 months ago

If I'm reading the documentation correctly, the third parameter in load-font-ex should take a CArray[int32].

  Name: LoadFontEx
  Return type: Font
  Description: Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load the default character setFont
  Param[1]: fileName (type: const char *)
  Param[2]: fontSize (type: int)
  Param[3]: codepoints (type: int *)
  Param[4]: codepointCount (type: int)
vushu commented 9 months ago

@ab5tract Ah that's right I will fix this.

vushu commented 9 months ago

Should be fixed now.