Mercurial > hg > orthanc-python
diff Sources/Autogenerated/sdk_OrthancPluginJobStopReason.impl.h @ 171:c8de83fe7faa
removed deprecation warnings
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 27 Jun 2024 15:52:51 +0200 |
parents | 6fada29b6759 |
children | 55473de7694f |
line wrap: on
line diff
--- a/Sources/Autogenerated/sdk_OrthancPluginJobStopReason.impl.h Thu Jun 27 14:26:59 2024 +0200 +++ b/Sources/Autogenerated/sdk_OrthancPluginJobStopReason.impl.h Thu Jun 27 15:52:51 2024 +0200 @@ -47,7 +47,7 @@ if (PyType_Ready(&sdk_OrthancPluginJobStopReason_Type) < 0) { - OrthancPlugins::LogError("Cannot register Python enumeration: OrthancPluginJobStopReason"); + ORTHANC_PLUGINS_LOG_ERROR("Cannot register Python enumeration: OrthancPluginJobStopReason"); ORTHANC_PLUGINS_THROW_EXCEPTION(InternalError); } @@ -93,7 +93,7 @@ Py_INCREF(&sdk_OrthancPluginJobStopReason_Type); if (PyModule_AddObject(module, "JobStopReason", (PyObject *)&sdk_OrthancPluginJobStopReason_Type) < 0) { - OrthancPlugins::LogError("Cannot register Python enumeration: OrthancPluginJobStopReason"); + ORTHANC_PLUGINS_LOG_ERROR("Cannot register Python enumeration: OrthancPluginJobStopReason"); Py_DECREF(&sdk_OrthancPluginJobStopReason_Type); ORTHANC_PLUGINS_THROW_EXCEPTION(InternalError); }