comparison 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
comparison
equal deleted inserted replaced
1447:5ba7471780ae 1448:3f7722179467
74 void ExecuteInternal(std::string* output, 74 void ExecuteInternal(std::string* output,
75 const std::string& command); 75 const std::string& command);
76 76
77 void PushJson(const Json::Value& value); 77 void PushJson(const Json::Value& value);
78 78
79 static bool GetJson(Json::Value& result, 79 void GetJson(Json::Value& result,
80 lua_State *state, 80 int top);
81 int index);
82 81
83 public: 82 public:
84 LuaContext(); 83 LuaContext();
85 84
86 ~LuaContext(); 85 ~LuaContext();