13void ParamsBuilder::add_unused_output_for_unsupporting_function(
const CPPType &type)
15 ResourceScope &scope = this->resource_scope();
16 void *buffer = scope.allocator().allocate_array(type, min_array_size_);
17 const GMutableSpan span{type, buffer, min_array_size_};
18 actual_params_.append_unchecked_as(std::in_place_type<GMutableSpan>, span);
19 if (!type.is_trivially_destructible) {
20 scope.add_destruct_call(
21 [&type, buffer, mask = mask_]() { type.destruct_indices(buffer, mask); });