changeset 668:15a0635eef4b

lua modules
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 01 May 2021 12:00:49 +0200
parents be71b56c90ab
children d5a646b2b421
files Sphinx/source/users/lua.rst
diffstat 1 files changed, 21 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Sphinx/source/users/lua.rst	Fri Apr 30 07:56:16 2021 +0200
+++ b/Sphinx/source/users/lua.rst	Sat May 01 12:00:49 2021 +0200
@@ -566,3 +566,24 @@
 
     return query
   end
+
+
+.. _lua-external-modules:
+
+Using external modules
+----------------------
+
+Starting with Orthanc 1.3.2, it is possible to use external Lua
+modules if Orthanc was compiled with the ``-DENABLE_LUA_MODULES=ON``
+while invoking CMake.
+
+Importantly, the modules and the Orthanc server must use the same
+version of Lua for external modules to be properly loaded.
+
+Check out the Orthanc Users forum for old discussions about this
+topic: `reference 1
+<https://groups.google.com/g/orthanc-users/c/BXfmwU786B0/m/M47slt5GFwAJ>`__,
+`reference 2
+<https://groups.google.com/g/orthanc-users/c/BXfmwU786B0/m/qpVe8UvGAwAJ>`__,
+`reference 3
+<https://groups.google.com/g/orthanc-users/c/LDAN5jA0X8M/m/4zrk0_AaBAAJ>`__.