Changeset 21105 for lang/cplusplus/llv8call/trunk/src/main.cc
- Timestamp:
- 10/11/08 08:40:19 (3 months ago)
- Files:
-
- 1 modified
-
lang/cplusplus/llv8call/trunk/src/main.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/cplusplus/llv8call/trunk/src/main.cc
r21104 r21105 141 141 // setup argv 142 142 Handle<Array> ARGV = Array::New(args_info.inputs_num); 143 for (unsigned int i= 1; i<args_info.inputs_num; i++) {144 ARGV->Set(Int32::New(i -1), String::New(args_info.inputs[i]));143 for (unsigned int i=0; i<args_info.inputs_num; i++) { 144 ARGV->Set(Int32::New(i), String::New(args_info.inputs[i])); 145 145 } 146 146 context->Global()->Set(String::New("ARGV"), ARGV);
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)