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

Unified Diff: runtime/bin/io_natives.cc

Issue 102953008: Add getter for lineMode and echoMode for Stdin. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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
« no previous file with comments | « no previous file | runtime/bin/stdin.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/io_natives.cc
diff --git a/runtime/bin/io_natives.cc b/runtime/bin/io_natives.cc
index 6ac1c16eaf48d6392837d8f2b8edbe0fd3a19564..480ce688b4dda5352384de29249eda0345fd5b5f 100644
--- a/runtime/bin/io_natives.cc
+++ b/runtime/bin/io_natives.cc
@@ -76,8 +76,10 @@ namespace bin {
V(Socket_LeaveMulticast, 4) \
V(Socket_SetSocketId, 2) \
V(Stdin_ReadByte, 1) \
- V(Stdin_SetEchoMode, 2) \
- V(Stdin_SetLineMode, 2) \
+ V(Stdin_GetEchoMode, 0) \
+ V(Stdin_SetEchoMode, 1) \
+ V(Stdin_GetLineMode, 0) \
+ V(Stdin_SetLineMode, 1) \
V(StringToSystemEncoding, 1) \
V(SystemEncodingToString, 1)
« no previous file with comments | « no previous file | runtime/bin/stdin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698