How to call from JS to C++?

I have mediation written in C++ (quite huge!), so I want to make call from JS to C++ to save time. I found this http://www.cocos2d-x.org/wiki/How_to_bind_C++_to_Javascript but it seems a bit complicated. Is there any other way to call from JS to C++ like to objective-c or Java?

1 Like