Mercurial > hg > orthanc
diff Core/Lua/LuaContext.cpp @ 4031:e3b3af80732d
ServerResources, and moving EmbeddedResourceHttpHandler from Core to OrthancServer
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 09 Jun 2020 21:31:13 +0200 |
parents | 05a363186da6 |
children |
line wrap: on
line diff
--- a/Core/Lua/LuaContext.cpp Tue Jun 09 20:50:20 2020 +0200 +++ b/Core/Lua/LuaContext.cpp Tue Jun 09 21:31:13 2020 +0200 @@ -612,16 +612,6 @@ } -#if ORTHANC_HAS_EMBEDDED_RESOURCES == 1 - void LuaContext::Execute(EmbeddedResources::FileResourceId resource) - { - std::string command; - EmbeddedResources::GetFileResource(command, resource); - ExecuteInternal(NULL, command); - } -#endif - - bool LuaContext::IsExistingFunction(const char* name) { lua_settop(lua_, 0);