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

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: 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..5cbd37bf5c948507391fc8f7da1fedbfad7a6c89 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -174,6 +174,13 @@ class Isolate : public BaseIsolate {
return init_callback_data_;
}
+ Dart_ConfigCallback config_callback() const {
+ return config_callback_;
+ }
+ void set_config_callback(Dart_ConfigCallback value) {
+ config_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_ConfigCallback config_callback_;
Dart_LibraryTagHandler library_tag_handler_;
ApiState* api_state_;
StubCode* stub_code_;

Powered by Google App Engine
This is Rietveld 408576698