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

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

Issue 24252014: Remove Dart_[Qualified]ClassName. (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 simple name for the provided type. 14 * Returns the simple name for the provided type.
15 */ 15 */
16 DART_EXPORT Dart_Handle Dart_TypeName(Dart_Handle type); 16 DART_EXPORT Dart_Handle Dart_TypeName(Dart_Handle type);
17 DART_EXPORT Dart_Handle Dart_ClassName(Dart_Handle type);
18 17
19 /** 18 /**
20 * Returns the qualified name for the provided type. 19 * Returns the qualified name for the provided type.
21 */ 20 */
22 DART_EXPORT Dart_Handle Dart_QualifiedTypeName(Dart_Handle type); 21 DART_EXPORT Dart_Handle Dart_QualifiedTypeName(Dart_Handle type);
23 DART_EXPORT Dart_Handle Dart_QualifiedClassName(Dart_Handle type);
24 22
25 /** 23 /**
26 * 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
27 * a library or class. 25 * a library or class.
28 * 26 *
29 * \param target A library or class. 27 * \param target A library or class.
30 * 28 *
31 * \return If no error occurs, a list of strings is returned. 29 * \return If no error occurs, a list of strings is returned.
32 * Otherwise an error handle is returned. 30 * Otherwise an error handle is returned.
33 */ 31 */
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 /** 133 /**
136 * Retrieves the function of a closure. 134 * Retrieves the function of a closure.
137 * 135 *
138 * \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
139 * argument is not a closure. 137 * argument is not a closure.
140 */ 138 */
141 DART_EXPORT Dart_Handle Dart_ClosureFunction(Dart_Handle closure); 139 DART_EXPORT Dart_Handle Dart_ClosureFunction(Dart_Handle closure);
142 140
143 141
144 #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