OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 2 * Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
3 * for details. All rights reserved. Use of this source code is governed by a | 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. | 4 * BSD-style license that can be found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 #ifndef RUNTIME_INCLUDE_DART_MIRRORS_API_H_ | 7 #ifndef RUNTIME_INCLUDE_DART_MIRRORS_API_H_ |
8 #define RUNTIME_INCLUDE_DART_MIRRORS_API_H_ | 8 #define RUNTIME_INCLUDE_DART_MIRRORS_API_H_ |
9 | 9 |
10 #include "dart_api.h" | 10 #include "dart_api.h" |
11 | 11 |
12 | |
13 /** | 12 /** |
14 * Returns the simple name for the provided type. | 13 * Returns the simple name for the provided type. |
15 */ | 14 */ |
16 DART_EXPORT Dart_Handle Dart_TypeName(Dart_Handle type); | 15 DART_EXPORT Dart_Handle Dart_TypeName(Dart_Handle type); |
17 | 16 |
18 /** | 17 /** |
19 * Returns the qualified name for the provided type. | 18 * Returns the qualified name for the provided type. |
20 */ | 19 */ |
21 DART_EXPORT Dart_Handle Dart_QualifiedTypeName(Dart_Handle type); | 20 DART_EXPORT Dart_Handle Dart_QualifiedTypeName(Dart_Handle type); |
22 | 21 |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 DART_EXPORT Dart_Handle Dart_LibraryGetClassNames(Dart_Handle library); | 130 DART_EXPORT Dart_Handle Dart_LibraryGetClassNames(Dart_Handle library); |
132 | 131 |
133 /** | 132 /** |
134 * Retrieves the function of a closure. | 133 * Retrieves the function of a closure. |
135 * | 134 * |
136 * \return A handle to the function of the closure, or an error handle if the | 135 * \return A handle to the function of the closure, or an error handle if the |
137 * argument is not a closure. | 136 * argument is not a closure. |
138 */ | 137 */ |
139 DART_EXPORT Dart_Handle Dart_ClosureFunction(Dart_Handle closure); | 138 DART_EXPORT Dart_Handle Dart_ClosureFunction(Dart_Handle closure); |
140 | 139 |
141 | |
142 #endif /* INCLUDE_DART_MIRRORS_API_H_ */ /* NOLINT */ | 140 #endif /* INCLUDE_DART_MIRRORS_API_H_ */ /* NOLINT */ |
OLD | NEW |