summaryrefslogtreecommitdiff
path: root/Lib/javascript
diff options
context:
space:
mode:
authorRichard <richie765@gmail.com>2014-08-22 08:33:56 -0500
committerRichard <richie765@gmail.com>2014-08-28 19:46:50 -0500
commitc1222ebeec3177979be34f1a844ed82294a66953 (patch)
tree3b8617feae1afe85f5b859ce29222f409c35cc5b /Lib/javascript
parent3c9e16ef8512b5713be05b5efc5f2ad095254c21 (diff)
downloadswig-c1222ebeec3177979be34f1a844ed82294a66953.tar.gz
Partial fixes for 3.24.40 (0x032440) - incomplete
Diffstat (limited to 'Lib/javascript')
-rw-r--r--Lib/javascript/v8/javascriptrun.swg4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/javascript/v8/javascriptrun.swg b/Lib/javascript/v8/javascriptrun.swg
index 0f6469f29..acff01fe6 100644
--- a/Lib/javascript/v8/javascriptrun.swg
+++ b/Lib/javascript/v8/javascriptrun.swg
@@ -21,7 +21,7 @@ typedef v8::PropertyCallbackInfo<v8::Value> SwigV8PropertyCallbackInfo;
#define SWIGV8_HANDLESCOPE() v8::HandleScope scope
#define SWIGV8_HANDLESCOPE_ESC() v8::HandleScope scope
#define SWIGV8_ESCAPE(val) return scope.Close(val)
-#elif (SWIG_V8_VERSION < 0x032530)
+#elif (SWIG_V8_VERSION < 0x032440)
#define SWIGV8_HANDLESCOPE() v8::HandleScope scope(v8::Isolate::GetCurrent());
#define SWIGV8_HANDLESCOPE_ESC() v8::HandleScope scope(v8::Isolate::GetCurrent());
#define SWIGV8_ESCAPE(val) return scope.Close(val)
@@ -31,7 +31,7 @@ typedef v8::PropertyCallbackInfo<v8::Value> SwigV8PropertyCallbackInfo;
#define SWIGV8_ESCAPE(val) return scope.Escape(val)
#endif
-#if (SWIG_V8_VERSION < 0x032530)
+#if (SWIG_V8_VERSION < 0x032440)
#define SWIGV8_CURRENT_CONTEXT() v8::Context::GetCurrent()
#define SWIGV8_STRING_NEW(str) v8::String::New(str)
#define SWIGV8_STRING_NEW2(cstr, len) v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), cstr, v8::String::kNormalString, len)