Create NodeJS - C++/C Binding with SWIG

From TYO Lab Wiki
Jump to: navigation, search

Node Addon / Extesion[edit]

Node is evolving in a very fast pace, and it will be often the case that its APIs change too when a new version is released.

Node 5.6 / V8[edit]

For SWIG <= 3.0.8, the binding / wrapper won't work out of box because of a V8 version definition issue.


  1. #ifndef SWIG_V8_VERSION
  2. #define SWIG_V8_VERSION 0x040685
  3. #endif