Mercurial > hg > orthanc-python
comparison Sources/Autogenerated/sdk_GlobalFunctions.impl.h @ 149:0705e324fcc8
fix build by regenerating the code model
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 22 Nov 2023 09:33:06 +0100 |
parents | 6288b8132659 |
children | 71d305c29cfa |
comparison
equal
deleted
inserted
replaced
148:8335b42be9fc | 149:0705e324fcc8 |
---|---|
20 | 20 |
21 static PyObject* sdk_OrthancPluginCheckVersionAdvanced(PyObject* module, PyObject* args) | 21 static PyObject* sdk_OrthancPluginCheckVersionAdvanced(PyObject* module, PyObject* args) |
22 { | 22 { |
23 PythonLock::LogCall("Calling Python global function: OrthancPluginCheckVersionAdvanced()"); | 23 PythonLock::LogCall("Calling Python global function: OrthancPluginCheckVersionAdvanced()"); |
24 | 24 |
25 long int arg0 = 0; | 25 int arg0 = 0; |
26 long int arg1 = 0; | 26 int arg1 = 0; |
27 long int arg2 = 0; | 27 int arg2 = 0; |
28 | 28 |
29 if (!PyArg_ParseTuple(args, "lll", &arg0, &arg1, &arg2)) | 29 if (!PyArg_ParseTuple(args, "iii", &arg0, &arg1, &arg2)) |
30 { | 30 { |
31 PyErr_SetString(PyExc_TypeError, "Bad types for the arguments (3 arguments expected)"); | 31 PyErr_SetString(PyExc_TypeError, "Bad types for the arguments (3 arguments expected)"); |
32 return NULL; | 32 return NULL; |
33 } | 33 } |
34 long value = OrthancPluginCheckVersionAdvanced(OrthancPlugins::GetGlobalContext(), arg0, arg1, arg2); | 34 long value = OrthancPluginCheckVersionAdvanced(OrthancPlugins::GetGlobalContext(), arg0, arg1, arg2); |