GDExtensionInterfaceStringToUtf32Chars typedef

GDExtensionInterfaceStringToUtf32Chars = Pointer<NativeFunction<GDExtensionInterfaceStringToUtf32CharsFunction>>

@name string_to_utf32_chars @since 4.1

Converts a String to a UTF-32 encoded C string.

It doesn't write a null terminator.

@param p_self A pointer to the String. @param r_text A pointer to the buffer to hold the resulting data. If NULL is passed in, only the length will be computed. @param p_max_write_length The maximum number of characters that can be written to r_text. It has no affect on the return value.

@return The resulting encoded string length in characters (not bytes), not including a null terminator.

Implementation

typedef GDExtensionInterfaceStringToUtf32Chars =
    ffi.Pointer<
      ffi.NativeFunction<GDExtensionInterfaceStringToUtf32CharsFunction>
    >;