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

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

Issue 390043002: Fix dartbug.com/19998 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 5 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/native_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_NATIVE_API_H_ 7 #ifndef INCLUDE_DART_NATIVE_API_H_
8 #define INCLUDE_DART_NATIVE_API_H_ 8 #define INCLUDE_DART_NATIVE_API_H_
9 9
10 #include "include/dart_api.h" 10 #include "include/dart_api.h"
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 * The port must have been allocated by a call to Dart_NewNativePort. 129 * The port must have been allocated by a call to Dart_NewNativePort.
130 * 130 *
131 * \param native_port_id The id of the native port to close. 131 * \param native_port_id The id of the native port to close.
132 * 132 *
133 * \return Returns true if the port was closed successfully. 133 * \return Returns true if the port was closed successfully.
134 */ 134 */
135 DART_EXPORT bool Dart_CloseNativePort(Dart_Port native_port_id); 135 DART_EXPORT bool Dart_CloseNativePort(Dart_Port native_port_id);
136 136
137 137
138 /* 138 /*
139 * =================
140 * Profiling support
141 * =================
142 */
143
144 /* External pprof support for gathering and dumping symbolic
145 * information that can be used for better profile reports for
146 * dynamically generated code. */
147 DART_EXPORT void Dart_InitPprofSupport();
148 DART_EXPORT void Dart_GetPprofSymbolInfo(void** buffer, int* buffer_size);
149
150 /* Support for generating symbol maps for use by the Linux perf tool. */
151 DART_EXPORT void Dart_InitPerfEventsSupport(void* perf_events_file);
152
153
154 /*
155 * ================== 139 * ==================
156 * Verification Tools 140 * Verification Tools
157 * ================== 141 * ==================
158 */ 142 */
159 143
160 /** 144 /**
161 * Forces all loaded classes and functions to be compiled eagerly in 145 * Forces all loaded classes and functions to be compiled eagerly in
162 * the current isolate.. 146 * the current isolate..
163 * 147 *
164 * TODO(turnidge): Document. 148 * TODO(turnidge): Document.
165 */ 149 */
166 DART_EXPORT Dart_Handle Dart_CompileAll(); 150 DART_EXPORT Dart_Handle Dart_CompileAll();
167 151
168 #endif /* INCLUDE_DART_NATIVE_API_H_ */ /* NOLINT */ 152 #endif /* INCLUDE_DART_NATIVE_API_H_ */ /* NOLINT */
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/native_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698