blob: 72fa4457083385542d84571935b344be48fc2e04 [file] [log] [blame]
// Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#include <dart_api.h>
void func1(Dart_Handle);
Dart_Handle func2();
Dart_Handle **func3(Dart_Handle *);
typedef void (*typedef1)(Dart_Handle);
void func4(typedef1);
// Dart_Handle isn't supported directly, so all members are removed.
struct struc1
{
Dart_Handle h;
int a;
};
// Pointer<Handle> works.
struct struc2
{
Dart_Handle *h;
};