Mercurial > hg > orthanc
diff Core/Lua/LuaContext.h @ 1448:3f7722179467
refactoring: GetJson in Lua
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 02 Jul 2015 09:10:25 +0200 |
parents | 5ba7471780ae |
children | 9ea3d082b064 |
line wrap: on
line diff
--- a/Core/Lua/LuaContext.h Wed Jul 01 17:42:06 2015 +0200 +++ b/Core/Lua/LuaContext.h Thu Jul 02 09:10:25 2015 +0200 @@ -76,9 +76,8 @@ void PushJson(const Json::Value& value); - static bool GetJson(Json::Value& result, - lua_State *state, - int index); + void GetJson(Json::Value& result, + int top); public: LuaContext();