Mercurial > hg > orthanc-python
diff Sources/Autogenerated/sdk_OrthancPluginFindAnswers.methods.h @ 184:f34f3a149c22 java-code-model
added class PythonThreadsAllower
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 02 Jul 2024 15:49:05 +0200 |
parents | e9be3c9294d4 |
children | 55473de7694f |
line wrap: on
line diff
--- a/Sources/Autogenerated/sdk_OrthancPluginFindAnswers.methods.h Tue Jul 02 14:52:20 2024 +0200 +++ b/Sources/Autogenerated/sdk_OrthancPluginFindAnswers.methods.h Tue Jul 02 15:49:05 2024 +0200 @@ -18,7 +18,11 @@ return NULL; } - OrthancPluginErrorCode code = OrthancPluginFindAddAnswer(OrthancPlugins::GetGlobalContext(), self->object_, arg0.buf, arg0.len); + OrthancPluginErrorCode code; + { + PythonThreadsAllower allower; + code = OrthancPluginFindAddAnswer(OrthancPlugins::GetGlobalContext(), self->object_, arg0.buf, arg0.len); + } PyBuffer_Release(&arg0); if (code == OrthancPluginErrorCode_Success) @@ -46,7 +50,11 @@ - OrthancPluginErrorCode code = OrthancPluginFindMarkIncomplete(OrthancPlugins::GetGlobalContext(), self->object_); + OrthancPluginErrorCode code; + { + PythonThreadsAllower allower; + code = OrthancPluginFindMarkIncomplete(OrthancPlugins::GetGlobalContext(), self->object_); + } if (code == OrthancPluginErrorCode_Success)