GDExtensionInterfaceVariantConstruct typedef

GDExtensionInterfaceVariantConstruct = Pointer<NativeFunction<GDExtensionInterfaceVariantConstructFunction>>

@name variant_construct @since 4.1

Constructs a Variant of the given type, using the first constructor that matches the given arguments.

@param p_type The Variant type. @param p_base A pointer to a Variant to store the constructed value. @param p_args A pointer to a C array of Variant pointers representing the arguments for the constructor. @param p_argument_count The number of arguments to pass to the constructor. @param r_error A pointer the structure which will be updated with error information.

Implementation

typedef GDExtensionInterfaceVariantConstruct =
    ffi.Pointer<
      ffi.NativeFunction<GDExtensionInterfaceVariantConstructFunction>
    >;