XWOS API  4.0
XWOS C/C++ API参考手册
载入中...
搜索中...
未找到
dataxchg.h
浏览该文件的文档.
1
21#ifndef __xwem_vm_lua_xwlua_xwvm_dataxchg_h__
22#define __xwem_vm_lua_xwlua_xwvm_dataxchg_h__
23
24#include <xwos/standard.h>
25#include "xwem/vm/lua/src/lua.h"
26
47xwer_t xwlua_vm_copy_function(lua_State * src, int sidx, lua_State * dst);
48
64xwer_t xwlua_vm_copy_userdata(lua_State * src, int idx, lua_State * dst);
65
81xwer_t xwlua_vm_copy_table(lua_State * src, int sidx, lua_State * dst);
82
99xwer_t xwlua_vm_copy_element(lua_State * src, int sidx, lua_State * dst);
100
118xwer_t xwlua_vm_move_element(lua_State * src, int sidx, lua_State * dst);
119
130void xwlua_vm_copy_env(lua_State * src, int sidx, lua_State * dst);
131
136#endif /* xwem/vm/lua/xwlua/xwvm/dataxchg.h */
void xwlua_vm_copy_env(lua_State *src, int sidx, lua_State *dst)
将源虚拟机中的表元素拷贝到目的虚拟机的环境 _ENV 中
xwer_t xwlua_vm_copy_table(lua_State *src, int sidx, lua_State *dst)
将虚拟机中的表拷贝到目的虚拟机的栈顶
xwer_t xwlua_vm_copy_userdata(lua_State *src, int idx, lua_State *dst)
将虚拟机中的用户数据拷贝到目的虚拟机的栈顶
xwer_t xwlua_vm_copy_element(lua_State *src, int sidx, lua_State *dst)
将源虚拟机栈中的元素拷贝到目的虚拟机栈的栈顶
xwer_t xwlua_vm_copy_function(lua_State *src, int sidx, lua_State *dst)
将源虚拟机栈中的函数拷贝到目的虚拟机的栈顶
xwer_t xwlua_vm_move_element(lua_State *src, int sidx, lua_State *dst)
将源虚拟机栈中的元素移动到目的虚拟机栈的栈顶
signed long xwer_t
Definition type.h:554
XWOS的标准头文件