comparison Sources/Autogenerated/sdk_OrthancPluginFindMatcher.methods.h @ 174:e9be3c9294d4 java-code-model

[IMPORTANT] replaced old auto-generated code with Java code model
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 27 Jun 2024 18:02:06 +0200
parents 5643e97d9367
children f34f3a149c22
comparison
equal deleted inserted replaced
173:3c72d1f4c2a5 174:e9be3c9294d4
15 if (!PyArg_ParseTuple(args, "s*", &arg0)) 15 if (!PyArg_ParseTuple(args, "s*", &arg0))
16 { 16 {
17 PyErr_SetString(PyExc_TypeError, "Bad types for the arguments (1 arguments expected)"); 17 PyErr_SetString(PyExc_TypeError, "Bad types for the arguments (1 arguments expected)");
18 return NULL; 18 return NULL;
19 } 19 }
20
20 long value = OrthancPluginFindMatcherIsMatch(OrthancPlugins::GetGlobalContext(), self->object_, arg0.buf, arg0.len); 21 long value = OrthancPluginFindMatcherIsMatch(OrthancPlugins::GetGlobalContext(), self->object_, arg0.buf, arg0.len);
21 PyBuffer_Release(&arg0); 22 PyBuffer_Release(&arg0);
22 return PyLong_FromLong(value); 23 return PyLong_FromLong(value);
23 } 24 }
24 25