Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index de2e733dbeccd9b4ddb0bcb36385a4ab6204aa03..deefe8351f5ea307855eb28b1be7c496b13709f8 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -1325,7 +1325,7 @@ class V8_EXPORT ScriptCompiler { |
* Compile a function for a given context. This is equivalent to running |
* |
* with (obj) { |
- * return function() { ... } |
+ * return function(args) { ... } |
* } |
* |
* It is possible to specify multiple context extensions (obj in the above |
@@ -1333,6 +1333,7 @@ class V8_EXPORT ScriptCompiler { |
*/ |
static Local<Function> CompileFunctionInContext( |
Isolate* isolate, Source* source, Local<Context> context, |
+ size_t arguments_count, Local<String> arguments[], |
size_t context_extension_count, Local<Object> context_extensions[]); |
private: |