Index: samples/lineprocessor.cc |
=================================================================== |
--- samples/lineprocessor.cc (revision 15486) |
+++ samples/lineprocessor.cc (working copy) |
@@ -322,6 +322,7 @@ |
return true; |
} |
+ |
int main(int argc, char* argv[]) { |
int result = RunMain(argc, argv); |
v8::V8::Dispose(); |
@@ -421,6 +422,7 @@ |
args.GetReturnValue().Set(ReadLine()); |
} |
+ |
v8::Handle<v8::String> ReadLine() { |
const int kBufferSize = 1024 + 1; |
char buffer[kBufferSize]; |