libffi
(以下E文摘自http://www.sourceware.org/libffi/)
A Portable Foreign Function Interface Library.
Compilers for high level languages generate code that follows certain conventions.
Some programs may not know at the time of compilation what arguments are to be passed to a function. For instance, an interpreter may be told at run-time about the number and types of arguments used to call a given function. Libffi can be used in such programs to provide a bridge from the interpreter program to compiled code.
主要用于在解释程序和编译程序之间架起一道桥梁。