lua 传值问题

openlqh1990 2013-08-12 11:03:40
我有一个自定义的数据类型
std::vector<std::string> SFstring;
std::vector<SFstring> MFstring;

Bool dofile(MFstring rootname);

在lua中我要使用dofile这个函数,MFstring这个类型怎么定义?
在lua中也是直接调用例如:dofile(rootname)
...全文
179 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
axx1611 2013-08-23
  • 打赏
  • 举报
回复
没看懂楼主想表达的意思,你不是已经定义了std::vector<SFstring> MFstring么?
旅行着 2013-08-16
  • 打赏
  • 举报
回复
顶一下,学习lua还不到家,解决不了

37,720

社区成员

发帖
与我相关
我的任务
社区描述
JavaScript,VBScript,AngleScript,ActionScript,Shell,Perl,Ruby,Lua,Tcl,Scala,MaxScript 等脚本语言交流。
社区管理员
  • 脚本语言(Perl/Python)社区
  • IT.BOB
加入社区
  • 近7日
  • 近30日
  • 至今

试试用AI创作助手写篇文章吧