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

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

Issue 49613002: Fix to asiva's code review comments on TBR Cl. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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 | « runtime/include/dart_debugger_api.h ('k') | runtime/vm/debugger_api_impl.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"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 */ 115 */
116 DART_EXPORT Dart_Handle Dart_FunctionIsSetter(Dart_Handle function, 116 DART_EXPORT Dart_Handle Dart_FunctionIsSetter(Dart_Handle function,
117 bool* is_setter); 117 bool* is_setter);
118 118
119 /** 119 /**
120 * Returns the name of a library as declared in the #library directive. 120 * Returns the name of a library as declared in the #library directive.
121 */ 121 */
122 DART_EXPORT Dart_Handle Dart_LibraryName(Dart_Handle library); 122 DART_EXPORT Dart_Handle Dart_LibraryName(Dart_Handle library);
123 123
124 /** 124 /**
125 * Returns in \library_id the library id of the given \library.
126 *
127 * \return A valid handle if no error occurs during the operation.
128 */
129 DART_EXPORT Dart_Handle Dart_LibraryId(Dart_Handle library,
130 intptr_t* library_id);
131
132 /**
133 * Returns a list of the names of all classes and interfaces declared 125 * Returns a list of the names of all classes and interfaces declared
134 * in a library. 126 * in a library.
135 * 127 *
136 * \return If no error occurs, a list of strings is returned. 128 * \return If no error occurs, a list of strings is returned.
137 * Otherwise an error handle is returned. 129 * Otherwise an error handle is returned.
138 */ 130 */
139 DART_EXPORT Dart_Handle Dart_LibraryGetClassNames(Dart_Handle library); 131 DART_EXPORT Dart_Handle Dart_LibraryGetClassNames(Dart_Handle library);
140 132
141 /** 133 /**
142 * Retrieves the function of a closure. 134 * Retrieves the function of a closure.
143 * 135 *
144 * \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
145 * argument is not a closure. 137 * argument is not a closure.
146 */ 138 */
147 DART_EXPORT Dart_Handle Dart_ClosureFunction(Dart_Handle closure); 139 DART_EXPORT Dart_Handle Dart_ClosureFunction(Dart_Handle closure);
148 140
149 141
150 #endif /* INCLUDE_DART_MIRRORS_API_H_ */ /* NOLINT */ 142 #endif /* INCLUDE_DART_MIRRORS_API_H_ */ /* NOLINT */
OLDNEW
« no previous file with comments | « runtime/include/dart_debugger_api.h ('k') | runtime/vm/debugger_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698