swig

Generate scripting interfaces to C/C++ code automatically

brewmacoslinux
Try with needOr install directly
Source

About

Generate scripting interfaces to C/C++ code

Commands

swig

Examples

Generate Python bindings from a C interface file$ swig -python mymodule.i
Generate Ruby bindings with output to specific directory$ swig -ruby -outdir ./build mymodule.i
Generate PHP bindings from C++ code$ swig -php5 -c++ mymodule.i