Mercurial > hg > orthanc
diff Core/Lua/LuaContext.h @ 3992:f9863630ec7f
working on the shared library for Orthanc framework
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 05 Jun 2020 16:07:01 +0200 |
parents | 94f4a18a79cc |
children | 05a363186da6 |
line wrap: on
line diff
--- a/Core/Lua/LuaContext.h Fri May 29 21:23:57 2020 +0200 +++ b/Core/Lua/LuaContext.h Fri Jun 05 16:07:01 2020 +0200 @@ -33,6 +33,9 @@ #pragma once +// To have ORTHANC_ENABLE_LUA defined if using the shared library +#include "../OrthancFramework.h" + #if !defined(ORTHANC_ENABLE_LUA) # error The macro ORTHANC_ENABLE_LUA must be defined #endif @@ -60,7 +63,7 @@ namespace Orthanc { - class LuaContext : public boost::noncopyable + class ORTHANC_PUBLIC LuaContext : public boost::noncopyable { private: friend class LuaFunctionCall;