Fix link error on Windows
authorSimon Hausmann <simon.hausmann@digia.com>
Fri, 8 Feb 2013 08:45:37 +0000 (09:45 +0100)
committerLars Knoll <lars.knoll@digia.com>
Sat, 9 Feb 2013 09:50:29 +0000 (10:50 +0100)
__qmljs_create_exception_handler was declared without export
but defined with export.

Change-Id: I998d33d64eb8acfaba451582e4c0082685f2b42a
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/v4/qmljs_runtime.h

index 27ffff8..2742692 100644 (file)
@@ -208,7 +208,7 @@ Value __qmljs_delete_name(ExecutionContext *ctx, String *name);
 
 void __qmljs_throw(Value value, ExecutionContext *context);
 // actually returns a jmp_buf *
-void *__qmljs_create_exception_handler(ExecutionContext *context);
+Q_V4_EXPORT void *__qmljs_create_exception_handler(ExecutionContext *context);
 void __qmljs_delete_exception_handler(ExecutionContext *context);
 Value __qmljs_get_exception(ExecutionContext *context);