node.js - Does Simplified Wrapper and Interface Generator generate Javascript -


i need use swig connect c code nodejs after run command:

sudo apt-get install swig  

and use command :

swig -javascript -node -c++ example.i 

i got error message: swig erro:inrecognized javascript option.

you can find supported languages of swig on http://www.swig.org/compat.html. can see javascript added in version 3.0.1. install swig 3 use:

sudo apt-get install swig3 

and create javascript proxy use:

swig3 -javascript -node -c++ example.i 

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -