项目配置更新

增加debug参数

更新三方库

稳定性优化

增加模块:http客户端、编解码、sqlserver客户端、时间、锁
This commit is contained in:
xx
2024-05-27 20:48:45 +08:00
parent e718d01e85
commit 6128e2064b
127 changed files with 11762 additions and 113 deletions

View File

@@ -28,3 +28,18 @@ bool global::regist_ptr(const std::string& name, void* value, sol::this_state ts
}
return m_value_ptr.add(name, value);
}
VarType global::get(const std::string& name, sol::this_state s)
{
VarType value;
if (m_values.get(name, value))
{
return value;
}
return sol::make_object(s, sol::nil);
}
void global::set(const std::string& name, VarType value)
{
m_values.set(name, value, true);
}