void lime_text_layout_set_direction (value textHandle, int direction) { #if defined(LIME_FREETYPE) && defined(LIME_HARFBUZZ) TextLayout *text = (TextLayout*)val_data (textHandle); text->SetDirection (direction); #endif }
value lime_text_layout_set_direction (value textHandle, value direction) { #if defined(LIME_FREETYPE) && defined(LIME_HARFBUZZ) TextLayout *text = (TextLayout*)(intptr_t)val_float (textHandle); text->SetDirection (val_int (direction)); #endif return alloc_null (); }