summaryrefslogtreecommitdiff
path: root/Lib/javascript
diff options
context:
space:
mode:
authorOliver Buchtala <oliver.buchtala@googlemail.com>2013-09-16 04:12:55 +0200
committerOliver Buchtala <oliver.buchtala@googlemail.com>2013-09-16 04:12:55 +0200
commiteb9523b5caef732bbd1b259850e16dc8a9e11564 (patch)
tree46947d0ae016ab940f47ab13baf8a7604a204621 /Lib/javascript
parent3e28d1e28f81688184cf2c362fa01b7efaaad790 (diff)
downloadswig-eb9523b5caef732bbd1b259850e16dc8a9e11564.tar.gz
Add missing macros.
Diffstat (limited to 'Lib/javascript')
-rw-r--r--Lib/javascript/jsc/javascriptrun.swg3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/javascript/jsc/javascriptrun.swg b/Lib/javascript/jsc/javascriptrun.swg
index 0e68b7618..3463d2351 100644
--- a/Lib/javascript/jsc/javascriptrun.swg
+++ b/Lib/javascript/jsc/javascriptrun.swg
@@ -167,6 +167,9 @@ JSObjectRef SWIG_JSC_NewPointerObj(JSContextRef context, void *ptr, swig_type_in
#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_JSC_ConvertInstancePtr(context, obj, pptr, type, flags)
#define SWIG_NewInstanceObj(thisvalue, type, flags) SWIG_JSC_NewPointerObj(context, thisvalue, type, flags)
+#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_JSC_ConvertPtr(context, obj, pptr, type, 0)
+#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_JSC_NewPointerObj(context, ptr, type, 0)
+
/* ----------------------------------------------------------------------------
* A class for packed data
*