diff options
author | Erik Verbruggen <erik.verbruggen@digia.com> | 2012-11-29 14:39:19 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@digia.com> | 2012-11-29 16:18:21 +0100 |
commit | 36356a4b273e19ca599bf2a0cbfb02fda69e6c0a (patch) | |
tree | 7f10a6334a95de4d85cc2efae9cc88fa526e910d /qmljs_engine.h | |
parent | 968fc9c6c9f3532e9456b3bf9049e6aa2282de7a (diff) |
Set the name of a function in more (most?) cases.
Change-Id: I1c2b9d61b6d97e3c2a8cb976fb6be8b68d51ae28
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'qmljs_engine.h')
-rw-r--r-- | qmljs_engine.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qmljs_engine.h b/qmljs_engine.h index 4ecc1daac8..dcae173fef 100644 --- a/qmljs_engine.h +++ b/qmljs_engine.h @@ -148,7 +148,7 @@ struct ExecutionEngine String *identifier(const QString &s); - FunctionObject *newNativeFunction(ExecutionContext *scope, Value (*code)(ExecutionContext *)); + FunctionObject *newNativeFunction(ExecutionContext *scope, String *name, Value (*code)(ExecutionContext *)); FunctionObject *newScriptFunction(ExecutionContext *scope, IR::Function *function); Object *newObject(); |