summaryrefslogtreecommitdiff
path: root/Lib/javascript/v8/javascriptrun.swg
diff options
context:
space:
mode:
authorOliver Buchtala <oliver.buchtala@googlemail.com>2013-09-10 13:29:16 +0300
committerOliver Buchtala <oliver.buchtala@googlemail.com>2013-09-10 13:29:16 +0300
commit001f38c6a9ebd19dee26196e9b0ee2421b8cbe5f (patch)
tree74ad31a7d6d5995947f69079784ed870cac623ca /Lib/javascript/v8/javascriptrun.swg
parentbe35d94fdb8b274b443e2467d8a1b6d2dd0723c6 (diff)
downloadswig-001f38c6a9ebd19dee26196e9b0ee2421b8cbe5f.tar.gz
Fix settings for building nodejs tests.
Removed the `-node` command line flag. Instead one has to use `-v8 -DBUILDING_NODE_EXTENSION=1`.
Diffstat (limited to 'Lib/javascript/v8/javascriptrun.swg')
-rw-r--r--Lib/javascript/v8/javascriptrun.swg24
1 files changed, 12 insertions, 12 deletions
diff --git a/Lib/javascript/v8/javascriptrun.swg b/Lib/javascript/v8/javascriptrun.swg
index 227977b16..bab81613c 100644
--- a/Lib/javascript/v8/javascriptrun.swg
+++ b/Lib/javascript/v8/javascriptrun.swg
@@ -1,7 +1,7 @@
-/* ---------------------------------------------------------------------------*/
-/* Error handling
-/*
-/* ---------------------------------------------------------------------------*/
+/* ---------------------------------------------------------------------------
+ * Error handling
+ *
+ * ---------------------------------------------------------------------------*/
#define SWIG_Error(code, msg) SWIGV8_ErrorHandler.error(code, msg)
#define SWIG_exception(code, msg) SWIGV8_ErrorHandler.error(code, msg)
@@ -64,10 +64,10 @@ typedef v8::PropertyCallbackInfo<v8::Value> SwigV8PropertyCallbackInfo;
#endif
-/* ---------------------------------------------------------------------------*/
-/* Basic Proxy object
-/*
-/* ---------------------------------------------------------------------------*/
+/* ---------------------------------------------------------------------------
+ * Basic Proxy object
+ *
+ * ---------------------------------------------------------------------------*/
// Note: to trigger the v8 gc more often one can tell v8 about the memory consumption
// TODO: we could add a v8 specific parameter to control this value
@@ -323,10 +323,10 @@ fail:
SWIGV8_RETURN(v8::Undefined());
}
-/* ---------------------------------------------------------------------------*/
-/* PackedData object
-/*
-/* ---------------------------------------------------------------------------*/
+/* ---------------------------------------------------------------------------
+ * PackedData object
+ *
+ * ---------------------------------------------------------------------------*/
class SwigV8PackedData {
public: