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