diff options
author | Lars Knoll <lars.knoll@digia.com> | 2012-11-17 22:14:06 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2012-11-19 10:29:53 +0100 |
commit | 4f1dfd1e260c238a0f8b1e3c7338431fa2972b90 (patch) | |
tree | 241182192a96ba0444efb9fbe2cd59bee40985b2 /qmljs_runtime.h | |
parent | 1162d4dde662908e3affe0bdcd45afb26676a52d (diff) |
Properly namespace the math header
Change-Id: I0f4ac76376028081b13b1cdeaadc4c9b09c1556d
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'qmljs_runtime.h')
-rw-r--r-- | qmljs_runtime.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/qmljs_runtime.h b/qmljs_runtime.h index 549c8a4b91..bc404e9bc0 100644 --- a/qmljs_runtime.h +++ b/qmljs_runtime.h @@ -42,6 +42,7 @@ #define QMLJS_RUNTIME_H #include <qmljs_value.h> +#include <qmljs_math.h> #include <QtCore/QString> #include <QtCore/qnumeric.h> @@ -258,14 +259,6 @@ Bool __qmljs_cmp_sne(Value left, Value right, ExecutionContext *ctx); Bool __qmljs_cmp_instanceof(Value left, Value right, ExecutionContext *ctx); Bool __qmljs_cmp_in(Value left, Value right, ExecutionContext *ctx); -} // extern "C" - - -#include <qmljs_math.h> - - -extern "C" { - // type conversion and testing inline Value __qmljs_to_primitive(Value value, ExecutionContext *ctx, int typeHint) { |