Use macros for V8 items

This commit is contained in:
Richard 2014-08-23 00:12:11 -05:00
commit b8d7cc21b9
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@
// For Javascript V8 we can not use '0' for out typemaps
#if defined(SWIG_JAVASCRIPT_V8)
%header %{
#define OUT_NULL_VALUE v8::Null()
#define OUT_NULL_VALUE SWIGV8_NULL()
%}
#else
%header %{