comparison Sphinx/source/developers/creating-plugins.rst @ 42:a52f1dc48ebc

GNU/Linux
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 16 Sep 2016 09:14:59 +0200
parents 2ee7f4462a6a
children 24eb034d0322
comparison
equal deleted inserted replaced
41:1c8aaaea72b2 42:a52f1dc48ebc
32 32
33 Structure of the plugins 33 Structure of the plugins
34 ------------------------ 34 ------------------------
35 35
36 A plugin takes the form of a shared library (``.DLL`` under Windows, 36 A plugin takes the form of a shared library (``.DLL`` under Windows,
37 ``.so`` under Linux, ``.dylib`` under Apple OS X...) that use the `ABI 37 ``.so`` under GNU/Linux, ``.dylib`` under Apple OS X...) that use the
38 of the C language 38 `ABI of the C language
39 <https://en.wikipedia.org/wiki/Application_binary_interface>`__ to 39 <https://en.wikipedia.org/wiki/Application_binary_interface>`__ to
40 declare 4 public functions/symbols: 40 declare 4 public functions/symbols:
41 41
42 * ``int32_t OrthancPluginInitialize(OrthancPluginContext* context)``. This 42 * ``int32_t OrthancPluginInitialize(OrthancPluginContext* context)``. This
43 callback function is responsible for initializing the plugin. The 43 callback function is responsible for initializing the plugin. The