GDExtensionInterfaceStringNewWithUtf16CharsAndLen2 typedef

GDExtensionInterfaceStringNewWithUtf16CharsAndLen2 = Pointer<NativeFunction<GDExtensionInterfaceStringNewWithUtf16CharsAndLen2Function>>

@name string_new_with_utf16_chars_and_len2 @since 4.3

Creates a String from a UTF-16 encoded C string with the given length.

@param r_dest A pointer to a Variant to hold the newly created String. @param p_contents A pointer to a UTF-16 encoded C string. @param p_size The number of characters (not bytes). @param p_default_little_endian If true, UTF-16 use little endian.

@return Error code signifying if the operation successful.

Implementation

typedef GDExtensionInterfaceStringNewWithUtf16CharsAndLen2 =
    ffi.Pointer<
      ffi.NativeFunction<
        GDExtensionInterfaceStringNewWithUtf16CharsAndLen2Function
      >
    >;