所有的状态最初都是空的;我们可以使用luaopen _…将函数库添加到状态中,如第10行到第14行所示。
All states are initially empty; you add libraries of functions to the state using luaopen_... , as shown in Lines 10 through 14.
在标准的。NET平台上,两个语言都能很好地访问所有。NET函数库。
On the standard.net platform, both languages have full access to all.net libraries.
所有的数据库操作都发生在函数库内部。
应用推荐