更新:添加doString方法及对应的单元测试

This commit is contained in:
2026-04-05 08:19:20 +08:00
parent 14526b8dc2
commit 8f1d409cf5
10 changed files with 337 additions and 146 deletions

View File

@ -25,7 +25,8 @@ class Lua_runner//lua运行器对象
int unload_lib(const char *name);//解除加载
int run(const char *path = NULL,const char *arg = NULL);
int clean();//清除状态机缓存
int callfunction();
//int callfunction();
int dostring(const char *target);
std::string reslt;
lua_State *get_lua_State();
private: