9void ParamsBuilder::add_unused_output_for_unsupporting_function(
const CPPType &type)
11 ResourceScope &scope = this->resource_scope();
12 void *buffer = scope.linear_allocator().allocate(type.size() * min_array_size_,
14 const GMutableSpan span{type, buffer, min_array_size_};
15 actual_params_.append_unchecked_as(std::in_place_type<GMutableSpan>, span);
16 if (!type.is_trivially_destructible()) {
17 scope.add_destruct_call(
18 [&type, buffer, mask = mask_]() { type.destruct_indices(buffer, mask); });