Mercurial > hg > orthanc
comparison OrthancServer/Plugins/Engine/OrthancPlugins.cpp @ 5389:0e5e675b9750
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 21 Sep 2023 18:18:25 +0200 |
parents | b376abae664a |
children | aaf7c49a9ddc 16cbfefa15e9 |
comparison
equal
deleted
inserted
replaced
5388:c026301eee9e | 5389:0e5e675b9750 |
---|---|
2036 | 2036 |
2037 | 2037 |
2038 OrthancPlugins::OrthancPlugins(const std::string& databaseServerIdentifier) | 2038 OrthancPlugins::OrthancPlugins(const std::string& databaseServerIdentifier) |
2039 { | 2039 { |
2040 /* Sanity check of the compiler */ | 2040 /* Sanity check of the compiler */ |
2041 if (sizeof(int32_t) != sizeof(OrthancPluginErrorCode) || | 2041 if (sizeof(int32_t) != sizeof(int) || // Ensure binary compatibility with Orthanc SDK <= 1.12.1 |
2042 sizeof(int32_t) != sizeof(OrthancPluginErrorCode) || | |
2042 sizeof(int32_t) != sizeof(OrthancPluginHttpMethod) || | 2043 sizeof(int32_t) != sizeof(OrthancPluginHttpMethod) || |
2043 sizeof(int32_t) != sizeof(_OrthancPluginService) || | 2044 sizeof(int32_t) != sizeof(_OrthancPluginService) || |
2044 sizeof(int32_t) != sizeof(_OrthancPluginProperty) || | 2045 sizeof(int32_t) != sizeof(_OrthancPluginProperty) || |
2045 sizeof(int32_t) != sizeof(OrthancPluginPixelFormat) || | 2046 sizeof(int32_t) != sizeof(OrthancPluginPixelFormat) || |
2046 sizeof(int32_t) != sizeof(OrthancPluginContentType) || | 2047 sizeof(int32_t) != sizeof(OrthancPluginContentType) || |