| Index: samples/lineprocessor.cc
|
| diff --git a/samples/lineprocessor.cc b/samples/lineprocessor.cc
|
| index 214af057db8e80df890b74ee3f9c0ef2fbb960dc..adc5b13e4d25be8841638fa30c8adcfe0b3613c5 100644
|
| --- a/samples/lineprocessor.cc
|
| +++ b/samples/lineprocessor.cc
|
| @@ -322,6 +322,7 @@ bool RunCppCycle(v8::Handle<v8::Script> script,
|
| return true;
|
| }
|
|
|
| +
|
| int main(int argc, char* argv[]) {
|
| int result = RunMain(argc, argv);
|
| v8::V8::Dispose();
|
| @@ -421,6 +422,7 @@ void ReadLine(const v8::FunctionCallbackInfo<v8::Value>& args) {
|
| args.GetReturnValue().Set(ReadLine());
|
| }
|
|
|
| +
|
| v8::Handle<v8::String> ReadLine() {
|
| const int kBufferSize = 1024 + 1;
|
| char buffer[kBufferSize];
|
|
|