diff Core/Lua/LuaFunctionCall.cpp @ 1658:54bafe0e7e7b

Optional argument "keepStrings" in "DumpJson()"
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 30 Sep 2015 09:44:38 +0200
parents 9ea3d082b064
children b1291df2f780
line wrap: on
line diff
--- a/Core/Lua/LuaFunctionCall.cpp	Tue Sep 29 16:31:48 2015 +0200
+++ b/Core/Lua/LuaFunctionCall.cpp	Wed Sep 30 09:44:38 2015 +0200
@@ -130,10 +130,11 @@
   }
 
 
-  void LuaFunctionCall::ExecuteToJson(Json::Value& result)
+  void LuaFunctionCall::ExecuteToJson(Json::Value& result,
+                                      bool keepStrings)
   {
     ExecuteInternal(1);
-    context_.GetJson(result, lua_gettop(context_.lua_));
+    context_.GetJson(result, lua_gettop(context_.lua_), keepStrings);
   }