From 7e2d76f21e623bc5fc3f25f0e2cc3a9689d15c99 Mon Sep 17 00:00:00 2001 From: Kent Hansen Date: Thu, 30 Jul 2009 13:15:30 +0200 Subject: document that qtscript neeeds some private JSC API --- src/3rdparty/webkit/JavaScriptCore/runtime/JSImmediate.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/3rdparty/webkit/JavaScriptCore/runtime/JSImmediate.h b/src/3rdparty/webkit/JavaScriptCore/runtime/JSImmediate.h index e5d19e0..e7d7847 100644 --- a/src/3rdparty/webkit/JavaScriptCore/runtime/JSImmediate.h +++ b/src/3rdparty/webkit/JavaScriptCore/runtime/JSImmediate.h @@ -130,7 +130,11 @@ namespace JSC { */ class JSImmediate { - public: // ### we need it! +#ifdef QT_BUILD_SCRIPT_LIB + public: // QtScript needs isImmediate() and from() functions +#else + private: +#endif friend class JIT; friend class JSValue; friend class JSFastMath; -- cgit v0.12