加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

Learning English

发布时间:2020-12-14 21:52:02 所属栏目:大数据 来源:网络整理
导读:pushes onto sw. sth. eg. lua_pushcfunction(lua_State *L,lua_CFunction f); This function receives a pointer to a C function and pushes onto the stack a Lua value of type function that when called,invokes the corresponding C function. ? the

pushes onto sw. sth.

eg. lua_pushcfunction(lua_State *L,lua_CFunction f);
This function receives a pointer to a C function and pushes onto the stack a Lua value of type function that when called,invokes the corresponding C function.
?
the host program
do the equivalent to?
The following example shows how the host program can do the equivalent to this Lua code.
?
behaves like
If there are no errors during the call,lua_pcall behaves exactly like lua_call.
?
?
unwound?
by then
Typically,the message handler is used to add more debug infomation to the error object,such as a stack traceback.Such infomation cannot? be gathered after the return of lua_pcall,since by then the stack has unwound.
?
lua_setfield(lua_State*l,int index,const char *k)
This function pops the value from the stack.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读