把我2点: 1 栈 2 API http://blog.csdn.net/fansongy/article/details/6989337 -在Lua中调用C函数 Lua5.1中的API函数 lua5.2调用c函数成功的例子