level 1
函数声明:
wstring Get(const wchar_t* lpAppName, const wchar_t* lpKeyName, const wchar_t* def = L"");
或者全部使用wstring:
wstring Get(wstring lpAppName, wstring lpKeyName, wstring def = L"");
绑定代码:
.addFunction("Get", &Config::Get)
2016年03月29日 04点03分
1
level 1
我怀疑可以在Lua脚本里直接用wstring("我是utf8")来创建一个wstring类型的字符串,明天测试一下。
2016年03月29日 18点03分
3