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_runtime.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_runtime.h')
-rw-r--r-- | qmljs_runtime.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qmljs_runtime.h b/qmljs_runtime.h index a02713d941..2df8dd105c 100644 --- a/qmljs_runtime.h +++ b/qmljs_runtime.h @@ -107,7 +107,7 @@ void __qmljs_builtin_declare_var(ExecutionContext *ctx, bool deletable, String * // constructors Value __qmljs_init_closure(IR::Function *clos, ExecutionContext *ctx); -Value __qmljs_init_native_function(Value (*code)(ExecutionContext *), ExecutionContext *ctx); +Value __qmljs_init_native_function(String *name, Value (*code)(ExecutionContext *), ExecutionContext *ctx); Bool __qmljs_is_function(Value value); |