| 1 | /* |
| 2 | * Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file |
| 3 | * for details. All rights reserved. Use of this source code is governed by a |
| 4 | * BSD-style license that can be found in the LICENSE file. |
| 5 | */ |
| 6 | |
| 7 | #ifndef RUNTIME_INCLUDE_INTERNAL_DART_API_DL_IMPL_H_ |
| 8 | #define RUNTIME_INCLUDE_INTERNAL_DART_API_DL_IMPL_H_ |
| 9 | |
| 10 | typedef struct { |
| 11 | const char* name; |
| 12 | void (*function)(); |
| 13 | } DartApiEntry; |
| 14 | |
| 15 | typedef struct { |
| 16 | const int major; |
| 17 | const int minor; |
| 18 | const DartApiEntry* const functions; |
| 19 | } DartApi; |
| 20 | |
| 21 | #endif /* RUNTIME_INCLUDE_INTERNAL_DART_API_DL_IMPL_H_ */ /* NOLINT */ |
| 22 | |