Use macros for V8 items
This commit is contained in:
parent
408390d146
commit
b8d7cc21b9
2 changed files with 2 additions and 2 deletions
|
|
@ -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 %{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue