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

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

Issue 1190413006: Fix line width issue. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: address code review comments Created 5 years, 6 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
« no previous file with comments | « no previous file | runtime/vm/dart_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) 2012, the Dart project authors. Please see the AUTHORS file 2 * Copyright (c) 2012, 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_API_H_ 7 #ifndef INCLUDE_DART_API_H_
8 #define INCLUDE_DART_API_H_ 8 #define INCLUDE_DART_API_H_
9 9
10 /** \mainpage Dart Embedding API Reference 10 /** \mainpage Dart Embedding API Reference
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 * 301 *
302 * \param error the error message. 302 * \param error the error message.
303 */ 303 */
304 DART_EXPORT Dart_Handle Dart_NewApiError(const char* error); 304 DART_EXPORT Dart_Handle Dart_NewApiError(const char* error);
305 305
306 /** 306 /**
307 * Produces a new unhandled exception error handle. 307 * Produces a new unhandled exception error handle.
308 * 308 *
309 * Requires there to be a current isolate. 309 * Requires there to be a current isolate.
310 * 310 *
311 * \param exception An instance of a Dart object to be thrown. 311 * \param exception An instance of a Dart object to be thrown or
312 * an ApiError or CompilationError handle.
313 * When an ApiError or CompilationError handle is passed in
314 * a string object of the error message is created and it becomes
315 * the Dart object to be thrown.
312 */ 316 */
313 DART_EXPORT Dart_Handle Dart_NewUnhandledExceptionError(Dart_Handle exception); 317 DART_EXPORT Dart_Handle Dart_NewUnhandledExceptionError(Dart_Handle exception);
314 318
315 /** 319 /**
316 * Propagates an error. 320 * Propagates an error.
317 * 321 *
318 * If the provided handle is an unhandled exception error, this 322 * If the provided handle is an unhandled exception error, this
319 * function will cause the unhandled exception to be rethrown. This 323 * function will cause the unhandled exception to be rethrown. This
320 * will proceed in the standard way, walking up Dart frames until an 324 * will proceed in the standard way, walking up Dart frames until an
321 * appropriate 'catch' block is found, executing 'finally' blocks, 325 * appropriate 'catch' block is found, executing 'finally' blocks,
(...skipping 2507 matching lines...) Expand 10 before | Expand all | Expand 10 after
2829 2833
2830 /** 2834 /**
2831 * Returns the port that script load requests should be sent on. 2835 * Returns the port that script load requests should be sent on.
2832 * 2836 *
2833 * \return Returns the port for load requests or ILLEGAL_PORT if the service 2837 * \return Returns the port for load requests or ILLEGAL_PORT if the service
2834 * isolate failed to startup or does not support load requests. 2838 * isolate failed to startup or does not support load requests.
2835 */ 2839 */
2836 DART_EXPORT Dart_Port Dart_ServiceWaitForLoadPort(); 2840 DART_EXPORT Dart_Port Dart_ServiceWaitForLoadPort();
2837 2841
2838 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ 2842 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698