一 Swig
SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages.
the languages include:
Perl, PHP, Python, Tcl and Ruby
C#, Common Lisp (CLISP, Allegro CL, CFFI, UFFI), Java, Lua, Modula-3, OCAML, Octave and R
http://www.swig.org/download.html
完!