GDExtensionInterfaceStringNewWithUtf8CharsAndLen typedef

GDExtensionInterfaceStringNewWithUtf8CharsAndLen = Pointer<NativeFunction<GDExtensionInterfaceStringNewWithUtf8CharsAndLenFunction>>

@name string_new_with_utf8_chars_and_len @since 4.1 @deprecated in Godot 4.3. Use string_new_with_utf8_chars_and_len2 instead.

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).

Implementation

typedef GDExtensionInterfaceStringNewWithUtf8CharsAndLen =
    ffi.Pointer<
      ffi.NativeFunction<
        GDExtensionInterfaceStringNewWithUtf8CharsAndLenFunction
      >
    >;