Mercurial > hg > orthanc-python
diff Sources/Autogenerated/sdk_OrthancPluginDicomWebBinaryMode.impl.h @ 131:c55b0583084b
integration fix-leak->mainline
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 30 Aug 2023 11:52:45 +0200 |
parents | 65ec5597ec70 5b59ebc267e1 |
children | 71d305c29cfa |
line wrap: on
line diff
--- a/Sources/Autogenerated/sdk_OrthancPluginDicomWebBinaryMode.impl.h Wed Aug 30 11:49:59 2023 +0200 +++ b/Sources/Autogenerated/sdk_OrthancPluginDicomWebBinaryMode.impl.h Wed Aug 30 11:52:45 2023 +0200 @@ -64,9 +64,24 @@ * (in your module initialization function)." **/ - PyDict_SetItemString(sdk_OrthancPluginDicomWebBinaryMode_Type.tp_dict, "IGNORE", PyLong_FromLong(0)); - PyDict_SetItemString(sdk_OrthancPluginDicomWebBinaryMode_Type.tp_dict, "INLINE_BINARY", PyLong_FromLong(1)); - PyDict_SetItemString(sdk_OrthancPluginDicomWebBinaryMode_Type.tp_dict, "BULK_DATA_URI", PyLong_FromLong(2)); + { + PyObject* tmp = PyLong_FromLong(0); + PyDict_SetItemString(sdk_OrthancPluginDicomWebBinaryMode_Type.tp_dict, "IGNORE", tmp); + Py_DECREF(tmp); + } + + { + PyObject* tmp = PyLong_FromLong(1); + PyDict_SetItemString(sdk_OrthancPluginDicomWebBinaryMode_Type.tp_dict, "INLINE_BINARY", tmp); + Py_DECREF(tmp); + } + + { + PyObject* tmp = PyLong_FromLong(2); + PyDict_SetItemString(sdk_OrthancPluginDicomWebBinaryMode_Type.tp_dict, "BULK_DATA_URI", tmp); + Py_DECREF(tmp); + } + Py_INCREF(&sdk_OrthancPluginDicomWebBinaryMode_Type); if (PyModule_AddObject(module, "DicomWebBinaryMode", (PyObject *)&sdk_OrthancPluginDicomWebBinaryMode_Type) < 0)