Class Language

java.lang.Object
org.javagi.base.ProxyInstance
org.freedesktop.harfbuzz.Language
All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class Language extends ProxyInstance
Data type for languages. Each hb_language_t corresponds to a BCP 47 language tag.
  • Constructor Details

    • Language

      public Language(MemorySegment address)
      Create a Language proxy instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
  • Method Details

    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout
    • languageToString

      public String languageToString()
      Converts an hb_language_t to a string.
      Returns:
      A NULL-terminated string representing the language. Must not be freed by the caller.
      Since:
      0.9.2