comparison Sphinx/source/users/lua.rst @ 668:15a0635eef4b

lua modules
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 01 May 2021 12:00:49 +0200
parents 2f000ee9b20d
children 0fbe952b2906
comparison
equal deleted inserted replaced
667:be71b56c90ab 668:15a0635eef4b
564 end 564 end
565 end 565 end
566 566
567 return query 567 return query
568 end 568 end
569
570
571 .. _lua-external-modules:
572
573 Using external modules
574 ----------------------
575
576 Starting with Orthanc 1.3.2, it is possible to use external Lua
577 modules if Orthanc was compiled with the ``-DENABLE_LUA_MODULES=ON``
578 while invoking CMake.
579
580 Importantly, the modules and the Orthanc server must use the same
581 version of Lua for external modules to be properly loaded.
582
583 Check out the Orthanc Users forum for old discussions about this
584 topic: `reference 1
585 <https://groups.google.com/g/orthanc-users/c/BXfmwU786B0/m/M47slt5GFwAJ>`__,
586 `reference 2
587 <https://groups.google.com/g/orthanc-users/c/BXfmwU786B0/m/qpVe8UvGAwAJ>`__,
588 `reference 3
589 <https://groups.google.com/g/orthanc-users/c/LDAN5jA0X8M/m/4zrk0_AaBAAJ>`__.