Hi!
I have a question about c char.
https://github.com/andlabs/libui/blob/fea45b2d5b75839be0af9acc842a147c5cba9295/ui.h#L767
c function
voiduiOpenTypeFeaturesAdd(uiOpenTypeFeatures*otf, chara, charb, charc, chard, uint32_tvalue);
ruby method
extern'void uiOpenTypeFeaturesAdd(uiOpenTypeFeatures *otf, char a, char b, char c, char d, uint32_t value)'
I wonder if I should call ord like this?
LibUI::FFI.uiOpenTypeFeaturesAdd(otf,'l'.ord,'i'.ord,'g'.ord,'a'.ord,0)
Thank you.
Hi!
I have a question about c char.
https://github.com/andlabs/libui/blob/fea45b2d5b75839be0af9acc842a147c5cba9295/ui.h#L767
c function
ruby method
I wonder if I should call ord like this?
Thank you.