fribidi_get_bidi_types(3)

πŸ’… fribidi_get_bidi_types(3) β€” the Programmer's Manual, bestie edition πŸŽ€

okay so real talk, this one lives in the fribidi family and it's genuinely one of the more useful little gremlins in there. it's a Programmer's Manual page, so grab a snack and let's go ✨


🌸 NAME 🌸

fribidi_get_bidi_types β€” get bidi types for a string of characters

like, the whole string. at once. not one at a time, we're not doing that today πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <../fribidi/lib/fribidi.h>

void fribidi_get_bidi_types
(
     const FriBidiChar *str,
     const FriBidiStrIndex len,
     FriBidiCharType *btypes
);

yes that include path is exactly what it is, i don't make the rules, i just copy them character for character 🫢


πŸŽ€ PARAMETERS πŸŽ€

  • const FriBidiChar *str β€” input string. the chars you want typed, bestie.
  • const FriBidiStrIndex len β€” input string length. gotta tell it how far to read, it's not psychic 😭
  • FriBidiCharType *btypes β€” output bidi types. this is where the results land. it's giving "fill my array" energy and honestly? slay.
⚠️ lowkey important: since there are 23 possible values for a FriBidiCharType, they are not all listed here. not me leaving 23 whole values out of the docs πŸ’€ go look them up elsewhere, iykyk.

πŸ”₯ DESCRIPTION πŸ”₯

This function finds the bidi types of a string of characters. that's it, that's the vibe. you hand it a string, you get back the bidi type of literally every char in it. ✨

and if you're sitting there like "okay but what is a bidi type tho πŸ₯Ί" β€” see fribidi_get_bidi_type() for more information about the bidi types returned by this function. that one's the main character for the details, this one's just the batch version. πŸ’œ


🌈 SEE ALSO 🌈

okay this list is a moment. it's long. it ate. all of these are siblings in the fribidi cinematic universe:

thirty entries. thirty. i counted. 🌟


🧚 sign-off 🧚

this masterpiece was conjured by c2man from fribidi-bidi-types.h, dated 29 October 2026 β€” and that's the whole page, bestie. go get those bidi types πŸ‘‘πŸ’–

πŸ“¦ where this page comes from