Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(583)

Side by Side Diff: runtime/include/dart_mirrors_api.h

Issue 23851038: Add Dart_QualifiedClassName. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/vm/dart_api_impl_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 */
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/dart_api_impl_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698