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

Unified Diff: runtime/vm/isolate.h

Issue 50983002: Implement fromEnvironment on bool, int and String (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index f42247e34824fbaa4c40cd7069c7e777c0e1e2a1..bd3d0be33bc5a355f8de60439e7c24946492f8b7 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -174,6 +174,13 @@ class Isolate : public BaseIsolate {
return init_callback_data_;
}
+ Dart_EnvironmentCallback environment_callback() const {
+ return environment_callback_;
+ }
+ void set_environment_callback(Dart_EnvironmentCallback value) {
+ environment_callback_ = value;
+ }
+
Dart_LibraryTagHandler library_tag_handler() const {
return library_tag_handler_;
}
@@ -393,6 +400,7 @@ class Isolate : public BaseIsolate {
RawContext* top_context_;
uword top_exit_frame_info_;
void* init_callback_data_;
+ Dart_EnvironmentCallback environment_callback_;
Dart_LibraryTagHandler library_tag_handler_;
ApiState* api_state_;
StubCode* stub_code_;
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/isolate.cc » ('j') | sdk/lib/core/bool.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698