XWOS API
4.0
XWOS C/C++ API参考手册
|
XWLUA库:虚拟机:数据交换 更多...
函数 | |
xwer_t | xwlua_vm_copy_function (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_table (lua_State *src, int sidx, lua_State *dst) |
将虚拟机中的表拷贝到目的虚拟机的栈顶 | |
xwer_t | xwlua_vm_copy_element (lua_State *src, int sidx, lua_State *dst) |
将源虚拟机栈中的元素拷贝到目的虚拟机栈的栈顶 | |
xwer_t | xwlua_vm_move_element (lua_State *src, int sidx, lua_State *dst) |
将源虚拟机栈中的元素移动到目的虚拟机栈的栈顶 | |
void | xwlua_vm_copy_env (lua_State *src, int sidx, lua_State *dst) |
将源虚拟机中的表元素拷贝到目的虚拟机的环境 _ENV 中 | |
XWLUA库:虚拟机:数据交换
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
在文件 dataxchg.h 中定义.