proto-debuger/protoDebuger/lua_bind.cpp

13 lines
227 B
C++
Raw Normal View History

2021-04-15 17:13:04 +00:00
#include "lua_bind.h"
int LuaShowData(lua_State *vm)
{
// 获取函数参数:从栈底取一个参数
const char *k = lua_tostring(vm, 1);
if (nullptr != k){
//todo qml显示添加
}
return 0;
}