| 1924 | } |
| 1925 | |
| 1926 | Status Server::FunctionSetCode(const std::string &lib, const std::string &code) const { |
| 1927 | std::string func_name = engine::kLuaLibCodePrefix + lib; |
| 1928 | engine::Context ctx(storage); |
| 1929 | return storage->WriteToPropagateCF(ctx, func_name, code); |
| 1930 | } |
| 1931 | |
| 1932 | Status Server::FunctionSetLib(const std::string &func, const std::string &lib) const { |
| 1933 | std::string func_name = engine::kLuaFuncLibPrefix + func; |
no test coverage detected