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

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

Issue 2245833002: Remove dead callback. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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/isolate.h » ('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 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 */ 685 */
686 typedef Dart_Isolate (*Dart_IsolateCreateCallback)(const char* script_uri, 686 typedef Dart_Isolate (*Dart_IsolateCreateCallback)(const char* script_uri,
687 const char* main, 687 const char* main,
688 const char* package_root, 688 const char* package_root,
689 const char* package_config, 689 const char* package_config,
690 Dart_IsolateFlags* flags, 690 Dart_IsolateFlags* flags,
691 void* callback_data, 691 void* callback_data,
692 char** error); 692 char** error);
693 693
694 /** 694 /**
695 * An isolate interrupt callback function.
696 *
697 * This callback has been DEPRECATED.
698 */
699 typedef bool (*Dart_IsolateInterruptCallback)();
700
701 /**
702 * An isolate unhandled exception callback function. 695 * An isolate unhandled exception callback function.
703 * 696 *
704 * This callback has been DEPRECATED. 697 * This callback has been DEPRECATED.
705 */ 698 */
706 typedef void (*Dart_IsolateUnhandledExceptionCallback)(Dart_Handle error); 699 typedef void (*Dart_IsolateUnhandledExceptionCallback)(Dart_Handle error);
707 700
708 /** 701 /**
709 * An isolate shutdown callback function. 702 * An isolate shutdown callback function.
710 * 703 *
711 * This callback, provided by the embedder, is called before the vm 704 * This callback, provided by the embedder, is called before the vm
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
1035 */ 1028 */
1036 DART_EXPORT Dart_Handle Dart_CreateLibrarySnapshot(Dart_Handle library, 1029 DART_EXPORT Dart_Handle Dart_CreateLibrarySnapshot(Dart_Handle library,
1037 uint8_t** buffer, 1030 uint8_t** buffer,
1038 intptr_t* size); 1031 intptr_t* size);
1039 1032
1040 /** 1033 /**
1041 * Schedules an interrupt for the specified isolate. 1034 * Schedules an interrupt for the specified isolate.
1042 * 1035 *
1043 * When the isolate is interrupted, the isolate interrupt callback 1036 * When the isolate is interrupted, the isolate interrupt callback
1044 * will be invoked with 'isolate' as the current isolate (see 1037 * will be invoked with 'isolate' as the current isolate (see
1045 * Dart_IsolateInterruptCallback). 1038 * Dart_SetIsolateEventHandler).
1046 * 1039 *
1047 * \param isolate The isolate to be interrupted. 1040 * \param isolate The isolate to be interrupted.
1048 */ 1041 */
1049 DART_EXPORT void Dart_InterruptIsolate(Dart_Isolate isolate); 1042 DART_EXPORT void Dart_InterruptIsolate(Dart_Isolate isolate);
1050 1043
1051 /** 1044 /**
1052 * Make isolate runnable. 1045 * Make isolate runnable.
1053 * 1046 *
1054 * When isolates are spawned this function is used to indicate that 1047 * When isolates are spawned this function is used to indicate that
1055 * the creation and initialization (including script loading) of the 1048 * the creation and initialization (including script loading) of the
(...skipping 2135 matching lines...) Expand 10 before | Expand all | Expand 10 after
3191 /** 3184 /**
3192 * Returns whether the VM was initialized with a precompiled snapshot. Only 3185 * Returns whether the VM was initialized with a precompiled snapshot. Only
3193 * valid after Dart_Initialize. 3186 * valid after Dart_Initialize.
3194 * DEPRECATED. This is currently used to disable Platform.executable and 3187 * DEPRECATED. This is currently used to disable Platform.executable and
3195 * Platform.resolvedExecutable under precompilation to prevent process 3188 * Platform.resolvedExecutable under precompilation to prevent process
3196 * spawning tests from becoming fork-bombs. 3189 * spawning tests from becoming fork-bombs.
3197 */ 3190 */
3198 DART_EXPORT bool Dart_IsRunningPrecompiledCode(); 3191 DART_EXPORT bool Dart_IsRunningPrecompiledCode();
3199 3192
3200 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ 3193 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698