annotate Sources/Autogenerated/sdk_OrthancPluginErrorCode.impl.h @ 227:9574f06d8588 default tip

todo
author Alain Mazy <am@orthanc.team>
date Tue, 24 Sep 2024 08:54:11 +0200
parents 3678a028f1f6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
219
3678a028f1f6 making the project REUSE-compliant
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 186
diff changeset
1 /**
3678a028f1f6 making the project REUSE-compliant
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 186
diff changeset
2 * SPDX-FileCopyrightText: 2020-2023 Osimis S.A., 2024-2024 Orthanc Team SRL, 2021-2024 Sebastien Jodogne, ICTEAM UCLouvain
3678a028f1f6 making the project REUSE-compliant
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 186
diff changeset
3 * SPDX-License-Identifier: AGPL-3.0-or-later
3678a028f1f6 making the project REUSE-compliant
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 186
diff changeset
4 */
3678a028f1f6 making the project REUSE-compliant
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 186
diff changeset
5
1
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
6 /**
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
7 * Python plugin for Orthanc
166
6fada29b6759 updated copyright, as Orthanc Team now replaces Osimis
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 155
diff changeset
8 * Copyright (C) 2020-2023 Osimis S.A., Belgium
6fada29b6759 updated copyright, as Orthanc Team now replaces Osimis
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 155
diff changeset
9 * Copyright (C) 2024-2024 Orthanc Team SRL, Belgium
155
71d305c29cfa updated year to 2024
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 131
diff changeset
10 * Copyright (C) 2021-2024 Sebastien Jodogne, ICTEAM UCLouvain, Belgium
1
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
11 *
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
12 * This program is free software: you can redistribute it and/or
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
13 * modify it under the terms of the GNU Affero General Public License
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
14 * as published by the Free Software Foundation, either version 3 of
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
15 * the License, or (at your option) any later version.
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
16 *
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
17 * This program is distributed in the hope that it will be useful, but
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
18 * WITHOUT ANY WARRANTY; without even the implied warranty of
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
20 * Affero General Public License for more details.
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
21 *
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
22 * You should have received a copy of the GNU Affero General Public License
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
23 * along with this program. If not, see <http://www.gnu.org/licenses/>.
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
24 **/
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
25
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
26
186
55473de7694f added warning about auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 171
diff changeset
27 // WARNING: Auto-generated file. Do not modify it by hand.
55473de7694f added warning about auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 171
diff changeset
28
55473de7694f added warning about auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 171
diff changeset
29
1
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
30 typedef struct
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
31 {
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
32 PyObject_HEAD
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
33 } sdk_OrthancPluginErrorCode_Object;
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
34
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
35
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
36 /**
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
37 * Static global structure => the fields that are beyond the last
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
38 * initialized field are set to zero.
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
39 * https://stackoverflow.com/a/11152199/881731
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
40 **/
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
41 static PyTypeObject sdk_OrthancPluginErrorCode_Type = {
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
42 PyVarObject_HEAD_INIT(NULL, 0)
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
43 "orthanc.ErrorCode", /* tp_name */
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
44 sizeof(sdk_OrthancPluginErrorCode_Object), /* tp_basicsize */
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
45 };
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
46
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
47
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
48 void RegisterOrthancPluginErrorCodeEnumeration(PyObject* module)
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
49 {
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
50 sdk_OrthancPluginErrorCode_Type.tp_new = PyType_GenericNew;
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
51 sdk_OrthancPluginErrorCode_Type.tp_flags = Py_TPFLAGS_DEFAULT;
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
52 sdk_OrthancPluginErrorCode_Type.tp_doc = "Generated from C enumeration OrthancPluginOrthancPluginErrorCode";
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
53
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
54 sdk_OrthancPluginErrorCode_Type.tp_dict = PyDict_New();
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
55
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
56 if (PyType_Ready(&sdk_OrthancPluginErrorCode_Type) < 0)
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
57 {
171
c8de83fe7faa removed deprecation warnings
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 166
diff changeset
58 ORTHANC_PLUGINS_LOG_ERROR("Cannot register Python enumeration: OrthancPluginErrorCode");
1
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
59 ORTHANC_PLUGINS_THROW_EXCEPTION(InternalError);
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
60 }
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
61
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
62 /**
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
63 * Declare constants here (static members = class attributes)
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
64 * https://stackoverflow.com/a/8017906/881731
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
65 *
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
66 * "Static and class methods can be defined in tp_methods by adding
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
67 * METH_STATIC or METH_CLASS to the ml_flags field of the
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
68 * PyMethodDef structure. This is equivalent to @staticmethod and
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
69 * @classmethod decorators."
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
70 *
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
71 * "Class attributes can be added by setting the tp_dict to a
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
72 * dictionary with these attributes before calling PyType_Ready()
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
73 * (in your module initialization function)."
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
74 **/
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
75
128
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
76 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
77 PyObject* tmp = PyLong_FromLong(-1);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
78 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "INTERNAL_ERROR", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
79 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
80 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
81
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
82 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
83 PyObject* tmp = PyLong_FromLong(0);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
84 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "SUCCESS", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
85 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
86 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
87
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
88 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
89 PyObject* tmp = PyLong_FromLong(1);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
90 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "PLUGIN", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
91 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
92 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
93
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
94 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
95 PyObject* tmp = PyLong_FromLong(2);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
96 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "NOT_IMPLEMENTED", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
97 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
98 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
99
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
100 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
101 PyObject* tmp = PyLong_FromLong(3);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
102 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "PARAMETER_OUT_OF_RANGE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
103 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
104 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
105
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
106 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
107 PyObject* tmp = PyLong_FromLong(4);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
108 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "NOT_ENOUGH_MEMORY", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
109 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
110 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
111
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
112 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
113 PyObject* tmp = PyLong_FromLong(5);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
114 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "BAD_PARAMETER_TYPE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
115 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
116 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
117
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
118 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
119 PyObject* tmp = PyLong_FromLong(6);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
120 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "BAD_SEQUENCE_OF_CALLS", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
121 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
122 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
123
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
124 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
125 PyObject* tmp = PyLong_FromLong(7);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
126 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "INEXISTENT_ITEM", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
127 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
128 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
129
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
130 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
131 PyObject* tmp = PyLong_FromLong(8);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
132 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "BAD_REQUEST", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
133 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
134 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
135
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
136 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
137 PyObject* tmp = PyLong_FromLong(9);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
138 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "NETWORK_PROTOCOL", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
139 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
140 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
141
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
142 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
143 PyObject* tmp = PyLong_FromLong(10);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
144 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "SYSTEM_COMMAND", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
145 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
146 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
147
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
148 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
149 PyObject* tmp = PyLong_FromLong(11);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
150 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "DATABASE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
151 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
152 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
153
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
154 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
155 PyObject* tmp = PyLong_FromLong(12);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
156 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "URI_SYNTAX", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
157 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
158 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
159
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
160 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
161 PyObject* tmp = PyLong_FromLong(13);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
162 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "INEXISTENT_FILE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
163 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
164 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
165
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
166 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
167 PyObject* tmp = PyLong_FromLong(14);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
168 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "CANNOT_WRITE_FILE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
169 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
170 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
171
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
172 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
173 PyObject* tmp = PyLong_FromLong(15);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
174 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "BAD_FILE_FORMAT", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
175 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
176 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
177
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
178 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
179 PyObject* tmp = PyLong_FromLong(16);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
180 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "TIMEOUT", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
181 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
182 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
183
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
184 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
185 PyObject* tmp = PyLong_FromLong(17);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
186 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "UNKNOWN_RESOURCE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
187 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
188 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
189
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
190 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
191 PyObject* tmp = PyLong_FromLong(18);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
192 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "INCOMPATIBLE_DATABASE_VERSION", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
193 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
194 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
195
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
196 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
197 PyObject* tmp = PyLong_FromLong(19);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
198 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "FULL_STORAGE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
199 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
200 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
201
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
202 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
203 PyObject* tmp = PyLong_FromLong(20);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
204 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "CORRUPTED_FILE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
205 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
206 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
207
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
208 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
209 PyObject* tmp = PyLong_FromLong(21);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
210 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "INEXISTENT_TAG", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
211 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
212 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
213
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
214 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
215 PyObject* tmp = PyLong_FromLong(22);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
216 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "READ_ONLY", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
217 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
218 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
219
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
220 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
221 PyObject* tmp = PyLong_FromLong(23);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
222 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "INCOMPATIBLE_IMAGE_FORMAT", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
223 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
224 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
225
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
226 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
227 PyObject* tmp = PyLong_FromLong(24);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
228 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "INCOMPATIBLE_IMAGE_SIZE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
229 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
230 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
231
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
232 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
233 PyObject* tmp = PyLong_FromLong(25);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
234 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "SHARED_LIBRARY", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
235 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
236 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
237
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
238 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
239 PyObject* tmp = PyLong_FromLong(26);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
240 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "UNKNOWN_PLUGIN_SERVICE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
241 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
242 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
243
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
244 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
245 PyObject* tmp = PyLong_FromLong(27);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
246 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "UNKNOWN_DICOM_TAG", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
247 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
248 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
249
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
250 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
251 PyObject* tmp = PyLong_FromLong(28);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
252 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "BAD_JSON", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
253 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
254 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
255
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
256 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
257 PyObject* tmp = PyLong_FromLong(29);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
258 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "UNAUTHORIZED", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
259 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
260 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
261
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
262 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
263 PyObject* tmp = PyLong_FromLong(30);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
264 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "BAD_FONT", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
265 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
266 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
267
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
268 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
269 PyObject* tmp = PyLong_FromLong(31);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
270 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "DATABASE_PLUGIN", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
271 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
272 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
273
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
274 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
275 PyObject* tmp = PyLong_FromLong(32);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
276 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "STORAGE_AREA_PLUGIN", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
277 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
278 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
279
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
280 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
281 PyObject* tmp = PyLong_FromLong(33);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
282 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "EMPTY_REQUEST", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
283 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
284 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
285
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
286 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
287 PyObject* tmp = PyLong_FromLong(34);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
288 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "NOT_ACCEPTABLE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
289 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
290 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
291
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
292 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
293 PyObject* tmp = PyLong_FromLong(35);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
294 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "NULL_POINTER", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
295 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
296 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
297
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
298 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
299 PyObject* tmp = PyLong_FromLong(36);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
300 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "DATABASE_UNAVAILABLE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
301 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
302 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
303
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
304 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
305 PyObject* tmp = PyLong_FromLong(37);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
306 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "CANCELED_JOB", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
307 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
308 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
309
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
310 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
311 PyObject* tmp = PyLong_FromLong(38);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
312 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "BAD_GEOMETRY", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
313 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
314 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
315
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
316 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
317 PyObject* tmp = PyLong_FromLong(39);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
318 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "SSL_INITIALIZATION", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
319 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
320 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
321
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
322 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
323 PyObject* tmp = PyLong_FromLong(40);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
324 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "DISCONTINUED_ABI", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
325 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
326 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
327
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
328 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
329 PyObject* tmp = PyLong_FromLong(41);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
330 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "BAD_RANGE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
331 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
332 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
333
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
334 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
335 PyObject* tmp = PyLong_FromLong(42);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
336 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "DATABASE_CANNOT_SERIALIZE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
337 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
338 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
339
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
340 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
341 PyObject* tmp = PyLong_FromLong(43);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
342 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "REVISION", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
343 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
344 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
345
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
346 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
347 PyObject* tmp = PyLong_FromLong(1000);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
348 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "SQLITE_NOT_OPENED", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
349 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
350 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
351
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
352 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
353 PyObject* tmp = PyLong_FromLong(1001);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
354 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "SQLITE_ALREADY_OPENED", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
355 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
356 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
357
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
358 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
359 PyObject* tmp = PyLong_FromLong(1002);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
360 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "SQLITE_CANNOT_OPEN", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
361 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
362 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
363
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
364 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
365 PyObject* tmp = PyLong_FromLong(1003);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
366 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "SQLITE_STATEMENT_ALREADY_USED", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
367 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
368 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
369
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
370 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
371 PyObject* tmp = PyLong_FromLong(1004);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
372 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "SQLITE_EXECUTE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
373 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
374 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
375
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
376 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
377 PyObject* tmp = PyLong_FromLong(1005);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
378 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "SQLITE_ROLLBACK_WITHOUT_TRANSACTION", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
379 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
380 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
381
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
382 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
383 PyObject* tmp = PyLong_FromLong(1006);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
384 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "SQLITE_COMMIT_WITHOUT_TRANSACTION", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
385 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
386 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
387
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
388 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
389 PyObject* tmp = PyLong_FromLong(1007);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
390 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "SQLITE_REGISTER_FUNCTION", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
391 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
392 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
393
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
394 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
395 PyObject* tmp = PyLong_FromLong(1008);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
396 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "SQLITE_FLUSH", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
397 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
398 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
399
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
400 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
401 PyObject* tmp = PyLong_FromLong(1009);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
402 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "SQLITE_CANNOT_RUN", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
403 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
404 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
405
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
406 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
407 PyObject* tmp = PyLong_FromLong(1010);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
408 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "SQLITE_CANNOT_STEP", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
409 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
410 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
411
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
412 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
413 PyObject* tmp = PyLong_FromLong(1011);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
414 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "SQLITE_BIND_OUT_OF_RANGE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
415 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
416 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
417
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
418 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
419 PyObject* tmp = PyLong_FromLong(1012);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
420 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "SQLITE_PREPARE_STATEMENT", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
421 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
422 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
423
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
424 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
425 PyObject* tmp = PyLong_FromLong(1013);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
426 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "SQLITE_TRANSACTION_ALREADY_STARTED", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
427 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
428 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
429
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
430 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
431 PyObject* tmp = PyLong_FromLong(1014);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
432 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "SQLITE_TRANSACTION_COMMIT", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
433 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
434 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
435
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
436 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
437 PyObject* tmp = PyLong_FromLong(1015);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
438 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "SQLITE_TRANSACTION_BEGIN", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
439 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
440 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
441
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
442 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
443 PyObject* tmp = PyLong_FromLong(2000);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
444 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "DIRECTORY_OVER_FILE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
445 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
446 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
447
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
448 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
449 PyObject* tmp = PyLong_FromLong(2001);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
450 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "FILE_STORAGE_CANNOT_WRITE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
451 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
452 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
453
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
454 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
455 PyObject* tmp = PyLong_FromLong(2002);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
456 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "DIRECTORY_EXPECTED", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
457 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
458 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
459
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
460 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
461 PyObject* tmp = PyLong_FromLong(2003);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
462 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "HTTP_PORT_IN_USE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
463 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
464 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
465
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
466 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
467 PyObject* tmp = PyLong_FromLong(2004);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
468 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "DICOM_PORT_IN_USE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
469 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
470 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
471
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
472 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
473 PyObject* tmp = PyLong_FromLong(2005);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
474 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "BAD_HTTP_STATUS_IN_REST", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
475 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
476 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
477
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
478 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
479 PyObject* tmp = PyLong_FromLong(2006);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
480 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "REGULAR_FILE_EXPECTED", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
481 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
482 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
483
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
484 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
485 PyObject* tmp = PyLong_FromLong(2007);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
486 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "PATH_TO_EXECUTABLE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
487 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
488 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
489
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
490 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
491 PyObject* tmp = PyLong_FromLong(2008);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
492 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "MAKE_DIRECTORY", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
493 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
494 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
495
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
496 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
497 PyObject* tmp = PyLong_FromLong(2009);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
498 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "BAD_APPLICATION_ENTITY_TITLE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
499 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
500 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
501
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
502 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
503 PyObject* tmp = PyLong_FromLong(2010);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
504 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "NO_CFIND_HANDLER", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
505 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
506 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
507
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
508 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
509 PyObject* tmp = PyLong_FromLong(2011);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
510 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "NO_CMOVE_HANDLER", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
511 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
512 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
513
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
514 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
515 PyObject* tmp = PyLong_FromLong(2012);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
516 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "NO_CSTORE_HANDLER", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
517 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
518 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
519
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
520 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
521 PyObject* tmp = PyLong_FromLong(2013);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
522 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "NO_APPLICATION_ENTITY_FILTER", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
523 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
524 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
525
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
526 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
527 PyObject* tmp = PyLong_FromLong(2014);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
528 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "NO_SOP_CLASS_OR_INSTANCE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
529 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
530 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
531
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
532 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
533 PyObject* tmp = PyLong_FromLong(2015);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
534 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "NO_PRESENTATION_CONTEXT", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
535 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
536 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
537
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
538 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
539 PyObject* tmp = PyLong_FromLong(2016);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
540 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "DICOM_FIND_UNAVAILABLE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
541 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
542 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
543
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
544 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
545 PyObject* tmp = PyLong_FromLong(2017);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
546 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "DICOM_MOVE_UNAVAILABLE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
547 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
548 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
549
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
550 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
551 PyObject* tmp = PyLong_FromLong(2018);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
552 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "CANNOT_STORE_INSTANCE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
553 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
554 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
555
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
556 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
557 PyObject* tmp = PyLong_FromLong(2019);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
558 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "CREATE_DICOM_NOT_STRING", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
559 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
560 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
561
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
562 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
563 PyObject* tmp = PyLong_FromLong(2020);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
564 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "CREATE_DICOM_OVERRIDE_TAG", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
565 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
566 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
567
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
568 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
569 PyObject* tmp = PyLong_FromLong(2021);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
570 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "CREATE_DICOM_USE_CONTENT", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
571 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
572 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
573
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
574 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
575 PyObject* tmp = PyLong_FromLong(2022);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
576 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "CREATE_DICOM_NO_PAYLOAD", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
577 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
578 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
579
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
580 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
581 PyObject* tmp = PyLong_FromLong(2023);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
582 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "CREATE_DICOM_USE_DATA_URI_SCHEME", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
583 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
584 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
585
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
586 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
587 PyObject* tmp = PyLong_FromLong(2024);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
588 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "CREATE_DICOM_BAD_PARENT", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
589 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
590 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
591
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
592 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
593 PyObject* tmp = PyLong_FromLong(2025);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
594 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "CREATE_DICOM_PARENT_IS_INSTANCE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
595 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
596 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
597
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
598 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
599 PyObject* tmp = PyLong_FromLong(2026);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
600 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "CREATE_DICOM_PARENT_ENCODING", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
601 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
602 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
603
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
604 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
605 PyObject* tmp = PyLong_FromLong(2027);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
606 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "UNKNOWN_MODALITY", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
607 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
608 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
609
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
610 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
611 PyObject* tmp = PyLong_FromLong(2028);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
612 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "BAD_JOB_ORDERING", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
613 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
614 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
615
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
616 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
617 PyObject* tmp = PyLong_FromLong(2029);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
618 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "JSON_TO_LUA_TABLE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
619 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
620 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
621
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
622 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
623 PyObject* tmp = PyLong_FromLong(2030);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
624 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "CANNOT_CREATE_LUA", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
625 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
626 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
627
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
628 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
629 PyObject* tmp = PyLong_FromLong(2031);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
630 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "CANNOT_EXECUTE_LUA", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
631 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
632 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
633
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
634 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
635 PyObject* tmp = PyLong_FromLong(2032);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
636 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "LUA_ALREADY_EXECUTED", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
637 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
638 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
639
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
640 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
641 PyObject* tmp = PyLong_FromLong(2033);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
642 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "LUA_BAD_OUTPUT", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
643 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
644 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
645
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
646 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
647 PyObject* tmp = PyLong_FromLong(2034);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
648 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "NOT_LUA_PREDICATE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
649 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
650 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
651
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
652 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
653 PyObject* tmp = PyLong_FromLong(2035);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
654 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "LUA_RETURNS_NO_STRING", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
655 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
656 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
657
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
658 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
659 PyObject* tmp = PyLong_FromLong(2036);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
660 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "STORAGE_AREA_ALREADY_REGISTERED", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
661 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
662 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
663
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
664 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
665 PyObject* tmp = PyLong_FromLong(2037);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
666 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "DATABASE_BACKEND_ALREADY_REGISTERED", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
667 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
668 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
669
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
670 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
671 PyObject* tmp = PyLong_FromLong(2038);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
672 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "DATABASE_NOT_INITIALIZED", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
673 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
674 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
675
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
676 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
677 PyObject* tmp = PyLong_FromLong(2039);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
678 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "SSL_DISABLED", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
679 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
680 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
681
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
682 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
683 PyObject* tmp = PyLong_FromLong(2040);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
684 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "CANNOT_ORDER_SLICES", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
685 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
686 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
687
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
688 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
689 PyObject* tmp = PyLong_FromLong(2041);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
690 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "NO_WORKLIST_HANDLER", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
691 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
692 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
693
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
694 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
695 PyObject* tmp = PyLong_FromLong(2042);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
696 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "ALREADY_EXISTING_TAG", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
697 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
698 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
699
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
700 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
701 PyObject* tmp = PyLong_FromLong(2043);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
702 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "NO_STORAGE_COMMITMENT_HANDLER", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
703 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
704 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
705
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
706 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
707 PyObject* tmp = PyLong_FromLong(2044);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
708 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "NO_CGET_HANDLER", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
709 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
710 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
711
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
712 {
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
713 PyObject* tmp = PyLong_FromLong(3000);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
714 PyDict_SetItemString(sdk_OrthancPluginErrorCode_Type.tp_dict, "UNSUPPORTED_MEDIA_TYPE", tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
715 Py_DECREF(tmp);
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
716 }
5b59ebc267e1 fixed leaks in the initialization of the enums
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 107
diff changeset
717
1
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
718
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
719 Py_INCREF(&sdk_OrthancPluginErrorCode_Type);
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
720 if (PyModule_AddObject(module, "ErrorCode", (PyObject *)&sdk_OrthancPluginErrorCode_Type) < 0)
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
721 {
171
c8de83fe7faa removed deprecation warnings
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 166
diff changeset
722 ORTHANC_PLUGINS_LOG_ERROR("Cannot register Python enumeration: OrthancPluginErrorCode");
1
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
723 Py_DECREF(&sdk_OrthancPluginErrorCode_Type);
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
724 ORTHANC_PLUGINS_THROW_EXCEPTION(InternalError);
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
725 }
fef9a239df5c adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
726 }