GDExtensionInterfaceStringNewWithUtf8CharsAndLen2 typedef

GDExtensionInterfaceStringNewWithUtf8CharsAndLen2 = Pointer<NativeFunction<GDExtensionInterfaceStringNewWithUtf8CharsAndLen2Function>>

@name string_new_with_utf8_chars_and_len2 @since 4.3

Creates a String from a UTF-8 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-8 encoded C string. @param p_size The number of bytes (not code units).

@return Error code signifying if the operation successful.

Implementation

typedef GDExtensionInterfaceStringNewWithUtf8CharsAndLen2 =
    ffi.Pointer<
      ffi.NativeFunction<
        GDExtensionInterfaceStringNewWithUtf8CharsAndLen2Function
      >
    >;