| 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 INCLUDE_DART_MIRRORS_API_H_ | 7 #ifndef INCLUDE_DART_MIRRORS_API_H_ |
| 8 #define INCLUDE_DART_MIRRORS_API_H_ | 8 #define INCLUDE_DART_MIRRORS_API_H_ |
| 9 | 9 |
| 10 #include "include/dart_api.h" | 10 #include "include/dart_api.h" |
| 11 | 11 |
| 12 | 12 |
| 13 /** | 13 /** |
| 14 * Returns the class name for the provided class or interface. | 14 * Returns the class name for the provided class. |
| 15 */ | 15 */ |
| 16 DART_EXPORT Dart_Handle Dart_ClassName(Dart_Handle clazz); | 16 DART_EXPORT Dart_Handle Dart_ClassName(Dart_Handle type); |
| 17 |
| 18 /** |
| 19 * Returns the qualified class name for the provided class. |
| 20 */ |
| 21 DART_EXPORT Dart_Handle Dart_QualifiedClassName(Dart_Handle type); |
| 17 | 22 |
| 18 /** | 23 /** |
| 19 * Returns a list of the names of all functions or methods declared in | 24 * Returns a list of the names of all functions or methods declared in |
| 20 * a library or class. | 25 * a library or class. |
| 21 * | 26 * |
| 22 * \param target A library or class. | 27 * \param target A library or class. |
| 23 * | 28 * |
| 24 * \return If no error occurs, a list of strings is returned. | 29 * \return If no error occurs, a list of strings is returned. |
| 25 * Otherwise an error handle is returned. | 30 * Otherwise an error handle is returned. |
| 26 */ | 31 */ |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 /** | 133 /** |
| 129 * Retrieves the function of a closure. | 134 * Retrieves the function of a closure. |
| 130 * | 135 * |
| 131 * \return A handle to the function of the closure, or an error handle if the | 136 * \return A handle to the function of the closure, or an error handle if the |
| 132 * argument is not a closure. | 137 * argument is not a closure. |
| 133 */ | 138 */ |
| 134 DART_EXPORT Dart_Handle Dart_ClosureFunction(Dart_Handle closure); | 139 DART_EXPORT Dart_Handle Dart_ClosureFunction(Dart_Handle closure); |
| 135 | 140 |
| 136 | 141 |
| 137 #endif /* INCLUDE_DART_MIRRORS_API_H_ */ /* NOLINT */ | 142 #endif /* INCLUDE_DART_MIRRORS_API_H_ */ /* NOLINT */ |
| OLD | NEW |