1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef LIB_TONIC_DART_WRAPPER_INFO_H_
6#define LIB_TONIC_DART_WRAPPER_INFO_H_
7
8#include <cstddef>
9
10namespace tonic {
11class DartWrappable;
12
13typedef void (*DartWrappableAccepter)(DartWrappable*);
14
15struct DartWrapperInfo {
16 const char* library_name;
17 const char* interface_name;
18 const size_t size_in_bytes;
19
20 private:
21 DartWrapperInfo(const DartWrapperInfo&) = delete;
22 DartWrapperInfo& operator=(const DartWrapperInfo&) = delete;
23};
24
25} // namespace tonic
26
27#endif // LIB_TONIC_DART_WRAPPER_INFO_H_
28