Mercurial > hg > orthanc
changeset 2443:c149cee81250
possibility to subclass LuaFunctionCall
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 06 Dec 2017 14:44:12 +0100 |
parents | 330349d712f9 |
children | d9e3781d2023 |
files | Core/Lua/LuaFunctionCall.h |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Core/Lua/LuaFunctionCall.h Tue Dec 05 21:58:09 2017 +0100 +++ b/Core/Lua/LuaFunctionCall.h Wed Dec 06 14:44:12 2017 +0100 @@ -50,8 +50,14 @@ void CheckAlreadyExecuted(); + protected: void ExecuteInternal(int numOutputs); + lua_State* GetState() + { + return context_.lua_; + } + public: LuaFunctionCall(LuaContext& context, const char* functionName);