Mercurial > hg > orthanc-python
comparison Sources/Autogenerated/sdk_GlobalFunctions.impl.h @ 28:b2bbb516056e
The "Calling Python..." info logs are disabled if "PythonVerbose" is "false"
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 27 Apr 2020 07:59:35 +0200 |
parents | fef9a239df5c |
children | 393d2da0722a |
comparison
equal
deleted
inserted
replaced
27:ec7860ac40e9 | 28:b2bbb516056e |
---|---|
17 **/ | 17 **/ |
18 | 18 |
19 | 19 |
20 static PyObject* sdk_OrthancPluginCheckVersionAdvanced(PyObject* module, PyObject* args) | 20 static PyObject* sdk_OrthancPluginCheckVersionAdvanced(PyObject* module, PyObject* args) |
21 { | 21 { |
22 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginCheckVersionAdvanced()"); | 22 PythonLock::LogCall("Calling Python global function: OrthancPluginCheckVersionAdvanced()"); |
23 | 23 |
24 int arg0 = 0; | 24 int arg0 = 0; |
25 int arg1 = 0; | 25 int arg1 = 0; |
26 int arg2 = 0; | 26 int arg2 = 0; |
27 | 27 |
36 return PyLong_FromLong(value); | 36 return PyLong_FromLong(value); |
37 } | 37 } |
38 | 38 |
39 static PyObject* sdk_OrthancPluginCheckVersion(PyObject* module, PyObject* args) | 39 static PyObject* sdk_OrthancPluginCheckVersion(PyObject* module, PyObject* args) |
40 { | 40 { |
41 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginCheckVersion()"); | 41 PythonLock::LogCall("Calling Python global function: OrthancPluginCheckVersion()"); |
42 | 42 |
43 | 43 |
44 long value = OrthancPluginCheckVersion(OrthancPlugins::GetGlobalContext()); | 44 long value = OrthancPluginCheckVersion(OrthancPlugins::GetGlobalContext()); |
45 | 45 |
46 return PyLong_FromLong(value); | 46 return PyLong_FromLong(value); |
47 } | 47 } |
48 | 48 |
49 static PyObject* sdk_OrthancPluginLogError(PyObject* module, PyObject* args) | 49 static PyObject* sdk_OrthancPluginLogError(PyObject* module, PyObject* args) |
50 { | 50 { |
51 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginLogError()"); | 51 PythonLock::LogCall("Calling Python global function: OrthancPluginLogError()"); |
52 | 52 |
53 const char* arg0 = NULL; | 53 const char* arg0 = NULL; |
54 | 54 |
55 if (!PyArg_ParseTuple(args, "s", &arg0)) | 55 if (!PyArg_ParseTuple(args, "s", &arg0)) |
56 { | 56 { |
65 return Py_None; | 65 return Py_None; |
66 } | 66 } |
67 | 67 |
68 static PyObject* sdk_OrthancPluginLogWarning(PyObject* module, PyObject* args) | 68 static PyObject* sdk_OrthancPluginLogWarning(PyObject* module, PyObject* args) |
69 { | 69 { |
70 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginLogWarning()"); | 70 PythonLock::LogCall("Calling Python global function: OrthancPluginLogWarning()"); |
71 | 71 |
72 const char* arg0 = NULL; | 72 const char* arg0 = NULL; |
73 | 73 |
74 if (!PyArg_ParseTuple(args, "s", &arg0)) | 74 if (!PyArg_ParseTuple(args, "s", &arg0)) |
75 { | 75 { |
84 return Py_None; | 84 return Py_None; |
85 } | 85 } |
86 | 86 |
87 static PyObject* sdk_OrthancPluginLogInfo(PyObject* module, PyObject* args) | 87 static PyObject* sdk_OrthancPluginLogInfo(PyObject* module, PyObject* args) |
88 { | 88 { |
89 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginLogInfo()"); | 89 PythonLock::LogCall("Calling Python global function: OrthancPluginLogInfo()"); |
90 | 90 |
91 const char* arg0 = NULL; | 91 const char* arg0 = NULL; |
92 | 92 |
93 if (!PyArg_ParseTuple(args, "s", &arg0)) | 93 if (!PyArg_ParseTuple(args, "s", &arg0)) |
94 { | 94 { |
103 return Py_None; | 103 return Py_None; |
104 } | 104 } |
105 | 105 |
106 static PyObject* sdk_OrthancPluginGetDicomForInstance(PyObject* module, PyObject* args) | 106 static PyObject* sdk_OrthancPluginGetDicomForInstance(PyObject* module, PyObject* args) |
107 { | 107 { |
108 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginGetDicomForInstance()"); | 108 PythonLock::LogCall("Calling Python global function: OrthancPluginGetDicomForInstance()"); |
109 | 109 |
110 const char* arg0 = NULL; | 110 const char* arg0 = NULL; |
111 | 111 |
112 if (!PyArg_ParseTuple(args, "s", &arg0)) | 112 if (!PyArg_ParseTuple(args, "s", &arg0)) |
113 { | 113 { |
131 } | 131 } |
132 } | 132 } |
133 | 133 |
134 static PyObject* sdk_OrthancPluginRestApiGet(PyObject* module, PyObject* args) | 134 static PyObject* sdk_OrthancPluginRestApiGet(PyObject* module, PyObject* args) |
135 { | 135 { |
136 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginRestApiGet()"); | 136 PythonLock::LogCall("Calling Python global function: OrthancPluginRestApiGet()"); |
137 | 137 |
138 const char* arg0 = NULL; | 138 const char* arg0 = NULL; |
139 | 139 |
140 if (!PyArg_ParseTuple(args, "s", &arg0)) | 140 if (!PyArg_ParseTuple(args, "s", &arg0)) |
141 { | 141 { |
159 } | 159 } |
160 } | 160 } |
161 | 161 |
162 static PyObject* sdk_OrthancPluginRestApiGetAfterPlugins(PyObject* module, PyObject* args) | 162 static PyObject* sdk_OrthancPluginRestApiGetAfterPlugins(PyObject* module, PyObject* args) |
163 { | 163 { |
164 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginRestApiGetAfterPlugins()"); | 164 PythonLock::LogCall("Calling Python global function: OrthancPluginRestApiGetAfterPlugins()"); |
165 | 165 |
166 const char* arg0 = NULL; | 166 const char* arg0 = NULL; |
167 | 167 |
168 if (!PyArg_ParseTuple(args, "s", &arg0)) | 168 if (!PyArg_ParseTuple(args, "s", &arg0)) |
169 { | 169 { |
187 } | 187 } |
188 } | 188 } |
189 | 189 |
190 static PyObject* sdk_OrthancPluginRestApiPost(PyObject* module, PyObject* args) | 190 static PyObject* sdk_OrthancPluginRestApiPost(PyObject* module, PyObject* args) |
191 { | 191 { |
192 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginRestApiPost()"); | 192 PythonLock::LogCall("Calling Python global function: OrthancPluginRestApiPost()"); |
193 | 193 |
194 const char* arg0 = NULL; | 194 const char* arg0 = NULL; |
195 Py_buffer arg1; | 195 Py_buffer arg1; |
196 | 196 |
197 if (!PyArg_ParseTuple(args, "ss*", &arg0, &arg1)) | 197 if (!PyArg_ParseTuple(args, "ss*", &arg0, &arg1)) |
216 } | 216 } |
217 } | 217 } |
218 | 218 |
219 static PyObject* sdk_OrthancPluginRestApiPostAfterPlugins(PyObject* module, PyObject* args) | 219 static PyObject* sdk_OrthancPluginRestApiPostAfterPlugins(PyObject* module, PyObject* args) |
220 { | 220 { |
221 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginRestApiPostAfterPlugins()"); | 221 PythonLock::LogCall("Calling Python global function: OrthancPluginRestApiPostAfterPlugins()"); |
222 | 222 |
223 const char* arg0 = NULL; | 223 const char* arg0 = NULL; |
224 Py_buffer arg1; | 224 Py_buffer arg1; |
225 | 225 |
226 if (!PyArg_ParseTuple(args, "ss*", &arg0, &arg1)) | 226 if (!PyArg_ParseTuple(args, "ss*", &arg0, &arg1)) |
245 } | 245 } |
246 } | 246 } |
247 | 247 |
248 static PyObject* sdk_OrthancPluginRestApiDelete(PyObject* module, PyObject* args) | 248 static PyObject* sdk_OrthancPluginRestApiDelete(PyObject* module, PyObject* args) |
249 { | 249 { |
250 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginRestApiDelete()"); | 250 PythonLock::LogCall("Calling Python global function: OrthancPluginRestApiDelete()"); |
251 | 251 |
252 const char* arg0 = NULL; | 252 const char* arg0 = NULL; |
253 | 253 |
254 if (!PyArg_ParseTuple(args, "s", &arg0)) | 254 if (!PyArg_ParseTuple(args, "s", &arg0)) |
255 { | 255 { |
274 } | 274 } |
275 } | 275 } |
276 | 276 |
277 static PyObject* sdk_OrthancPluginRestApiDeleteAfterPlugins(PyObject* module, PyObject* args) | 277 static PyObject* sdk_OrthancPluginRestApiDeleteAfterPlugins(PyObject* module, PyObject* args) |
278 { | 278 { |
279 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginRestApiDeleteAfterPlugins()"); | 279 PythonLock::LogCall("Calling Python global function: OrthancPluginRestApiDeleteAfterPlugins()"); |
280 | 280 |
281 const char* arg0 = NULL; | 281 const char* arg0 = NULL; |
282 | 282 |
283 if (!PyArg_ParseTuple(args, "s", &arg0)) | 283 if (!PyArg_ParseTuple(args, "s", &arg0)) |
284 { | 284 { |
303 } | 303 } |
304 } | 304 } |
305 | 305 |
306 static PyObject* sdk_OrthancPluginRestApiPut(PyObject* module, PyObject* args) | 306 static PyObject* sdk_OrthancPluginRestApiPut(PyObject* module, PyObject* args) |
307 { | 307 { |
308 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginRestApiPut()"); | 308 PythonLock::LogCall("Calling Python global function: OrthancPluginRestApiPut()"); |
309 | 309 |
310 const char* arg0 = NULL; | 310 const char* arg0 = NULL; |
311 Py_buffer arg1; | 311 Py_buffer arg1; |
312 | 312 |
313 if (!PyArg_ParseTuple(args, "ss*", &arg0, &arg1)) | 313 if (!PyArg_ParseTuple(args, "ss*", &arg0, &arg1)) |
332 } | 332 } |
333 } | 333 } |
334 | 334 |
335 static PyObject* sdk_OrthancPluginRestApiPutAfterPlugins(PyObject* module, PyObject* args) | 335 static PyObject* sdk_OrthancPluginRestApiPutAfterPlugins(PyObject* module, PyObject* args) |
336 { | 336 { |
337 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginRestApiPutAfterPlugins()"); | 337 PythonLock::LogCall("Calling Python global function: OrthancPluginRestApiPutAfterPlugins()"); |
338 | 338 |
339 const char* arg0 = NULL; | 339 const char* arg0 = NULL; |
340 Py_buffer arg1; | 340 Py_buffer arg1; |
341 | 341 |
342 if (!PyArg_ParseTuple(args, "ss*", &arg0, &arg1)) | 342 if (!PyArg_ParseTuple(args, "ss*", &arg0, &arg1)) |
361 } | 361 } |
362 } | 362 } |
363 | 363 |
364 static PyObject* sdk_OrthancPluginLookupPatient(PyObject* module, PyObject* args) | 364 static PyObject* sdk_OrthancPluginLookupPatient(PyObject* module, PyObject* args) |
365 { | 365 { |
366 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginLookupPatient()"); | 366 PythonLock::LogCall("Calling Python global function: OrthancPluginLookupPatient()"); |
367 | 367 |
368 const char* arg0 = NULL; | 368 const char* arg0 = NULL; |
369 | 369 |
370 if (!PyArg_ParseTuple(args, "s", &arg0)) | 370 if (!PyArg_ParseTuple(args, "s", &arg0)) |
371 { | 371 { |
389 } | 389 } |
390 } | 390 } |
391 | 391 |
392 static PyObject* sdk_OrthancPluginLookupStudy(PyObject* module, PyObject* args) | 392 static PyObject* sdk_OrthancPluginLookupStudy(PyObject* module, PyObject* args) |
393 { | 393 { |
394 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginLookupStudy()"); | 394 PythonLock::LogCall("Calling Python global function: OrthancPluginLookupStudy()"); |
395 | 395 |
396 const char* arg0 = NULL; | 396 const char* arg0 = NULL; |
397 | 397 |
398 if (!PyArg_ParseTuple(args, "s", &arg0)) | 398 if (!PyArg_ParseTuple(args, "s", &arg0)) |
399 { | 399 { |
417 } | 417 } |
418 } | 418 } |
419 | 419 |
420 static PyObject* sdk_OrthancPluginLookupStudyWithAccessionNumber(PyObject* module, PyObject* args) | 420 static PyObject* sdk_OrthancPluginLookupStudyWithAccessionNumber(PyObject* module, PyObject* args) |
421 { | 421 { |
422 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginLookupStudyWithAccessionNumber()"); | 422 PythonLock::LogCall("Calling Python global function: OrthancPluginLookupStudyWithAccessionNumber()"); |
423 | 423 |
424 const char* arg0 = NULL; | 424 const char* arg0 = NULL; |
425 | 425 |
426 if (!PyArg_ParseTuple(args, "s", &arg0)) | 426 if (!PyArg_ParseTuple(args, "s", &arg0)) |
427 { | 427 { |
445 } | 445 } |
446 } | 446 } |
447 | 447 |
448 static PyObject* sdk_OrthancPluginLookupSeries(PyObject* module, PyObject* args) | 448 static PyObject* sdk_OrthancPluginLookupSeries(PyObject* module, PyObject* args) |
449 { | 449 { |
450 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginLookupSeries()"); | 450 PythonLock::LogCall("Calling Python global function: OrthancPluginLookupSeries()"); |
451 | 451 |
452 const char* arg0 = NULL; | 452 const char* arg0 = NULL; |
453 | 453 |
454 if (!PyArg_ParseTuple(args, "s", &arg0)) | 454 if (!PyArg_ParseTuple(args, "s", &arg0)) |
455 { | 455 { |
473 } | 473 } |
474 } | 474 } |
475 | 475 |
476 static PyObject* sdk_OrthancPluginLookupInstance(PyObject* module, PyObject* args) | 476 static PyObject* sdk_OrthancPluginLookupInstance(PyObject* module, PyObject* args) |
477 { | 477 { |
478 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginLookupInstance()"); | 478 PythonLock::LogCall("Calling Python global function: OrthancPluginLookupInstance()"); |
479 | 479 |
480 const char* arg0 = NULL; | 480 const char* arg0 = NULL; |
481 | 481 |
482 if (!PyArg_ParseTuple(args, "s", &arg0)) | 482 if (!PyArg_ParseTuple(args, "s", &arg0)) |
483 { | 483 { |
501 } | 501 } |
502 } | 502 } |
503 | 503 |
504 static PyObject* sdk_OrthancPluginGetOrthancPath(PyObject* module, PyObject* args) | 504 static PyObject* sdk_OrthancPluginGetOrthancPath(PyObject* module, PyObject* args) |
505 { | 505 { |
506 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginGetOrthancPath()"); | 506 PythonLock::LogCall("Calling Python global function: OrthancPluginGetOrthancPath()"); |
507 | 507 |
508 | 508 |
509 OrthancPlugins::OrthancString s; | 509 OrthancPlugins::OrthancString s; |
510 s.Assign(OrthancPluginGetOrthancPath(OrthancPlugins::GetGlobalContext())); | 510 s.Assign(OrthancPluginGetOrthancPath(OrthancPlugins::GetGlobalContext())); |
511 | 511 |
522 } | 522 } |
523 } | 523 } |
524 | 524 |
525 static PyObject* sdk_OrthancPluginGetOrthancDirectory(PyObject* module, PyObject* args) | 525 static PyObject* sdk_OrthancPluginGetOrthancDirectory(PyObject* module, PyObject* args) |
526 { | 526 { |
527 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginGetOrthancDirectory()"); | 527 PythonLock::LogCall("Calling Python global function: OrthancPluginGetOrthancDirectory()"); |
528 | 528 |
529 | 529 |
530 OrthancPlugins::OrthancString s; | 530 OrthancPlugins::OrthancString s; |
531 s.Assign(OrthancPluginGetOrthancDirectory(OrthancPlugins::GetGlobalContext())); | 531 s.Assign(OrthancPluginGetOrthancDirectory(OrthancPlugins::GetGlobalContext())); |
532 | 532 |
543 } | 543 } |
544 } | 544 } |
545 | 545 |
546 static PyObject* sdk_OrthancPluginGetConfigurationPath(PyObject* module, PyObject* args) | 546 static PyObject* sdk_OrthancPluginGetConfigurationPath(PyObject* module, PyObject* args) |
547 { | 547 { |
548 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginGetConfigurationPath()"); | 548 PythonLock::LogCall("Calling Python global function: OrthancPluginGetConfigurationPath()"); |
549 | 549 |
550 | 550 |
551 OrthancPlugins::OrthancString s; | 551 OrthancPlugins::OrthancString s; |
552 s.Assign(OrthancPluginGetConfigurationPath(OrthancPlugins::GetGlobalContext())); | 552 s.Assign(OrthancPluginGetConfigurationPath(OrthancPlugins::GetGlobalContext())); |
553 | 553 |
564 } | 564 } |
565 } | 565 } |
566 | 566 |
567 static PyObject* sdk_OrthancPluginSetRootUri(PyObject* module, PyObject* args) | 567 static PyObject* sdk_OrthancPluginSetRootUri(PyObject* module, PyObject* args) |
568 { | 568 { |
569 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginSetRootUri()"); | 569 PythonLock::LogCall("Calling Python global function: OrthancPluginSetRootUri()"); |
570 | 570 |
571 const char* arg0 = NULL; | 571 const char* arg0 = NULL; |
572 | 572 |
573 if (!PyArg_ParseTuple(args, "s", &arg0)) | 573 if (!PyArg_ParseTuple(args, "s", &arg0)) |
574 { | 574 { |
583 return Py_None; | 583 return Py_None; |
584 } | 584 } |
585 | 585 |
586 static PyObject* sdk_OrthancPluginSetDescription(PyObject* module, PyObject* args) | 586 static PyObject* sdk_OrthancPluginSetDescription(PyObject* module, PyObject* args) |
587 { | 587 { |
588 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginSetDescription()"); | 588 PythonLock::LogCall("Calling Python global function: OrthancPluginSetDescription()"); |
589 | 589 |
590 const char* arg0 = NULL; | 590 const char* arg0 = NULL; |
591 | 591 |
592 if (!PyArg_ParseTuple(args, "s", &arg0)) | 592 if (!PyArg_ParseTuple(args, "s", &arg0)) |
593 { | 593 { |
602 return Py_None; | 602 return Py_None; |
603 } | 603 } |
604 | 604 |
605 static PyObject* sdk_OrthancPluginExtendOrthancExplorer(PyObject* module, PyObject* args) | 605 static PyObject* sdk_OrthancPluginExtendOrthancExplorer(PyObject* module, PyObject* args) |
606 { | 606 { |
607 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginExtendOrthancExplorer()"); | 607 PythonLock::LogCall("Calling Python global function: OrthancPluginExtendOrthancExplorer()"); |
608 | 608 |
609 const char* arg0 = NULL; | 609 const char* arg0 = NULL; |
610 | 610 |
611 if (!PyArg_ParseTuple(args, "s", &arg0)) | 611 if (!PyArg_ParseTuple(args, "s", &arg0)) |
612 { | 612 { |
621 return Py_None; | 621 return Py_None; |
622 } | 622 } |
623 | 623 |
624 static PyObject* sdk_OrthancPluginGetGlobalProperty(PyObject* module, PyObject* args) | 624 static PyObject* sdk_OrthancPluginGetGlobalProperty(PyObject* module, PyObject* args) |
625 { | 625 { |
626 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginGetGlobalProperty()"); | 626 PythonLock::LogCall("Calling Python global function: OrthancPluginGetGlobalProperty()"); |
627 | 627 |
628 long int arg0 = 0; | 628 long int arg0 = 0; |
629 const char* arg1 = NULL; | 629 const char* arg1 = NULL; |
630 | 630 |
631 if (!PyArg_ParseTuple(args, "ls", &arg0, &arg1)) | 631 if (!PyArg_ParseTuple(args, "ls", &arg0, &arg1)) |
650 } | 650 } |
651 } | 651 } |
652 | 652 |
653 static PyObject* sdk_OrthancPluginSetGlobalProperty(PyObject* module, PyObject* args) | 653 static PyObject* sdk_OrthancPluginSetGlobalProperty(PyObject* module, PyObject* args) |
654 { | 654 { |
655 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginSetGlobalProperty()"); | 655 PythonLock::LogCall("Calling Python global function: OrthancPluginSetGlobalProperty()"); |
656 | 656 |
657 long int arg0 = 0; | 657 long int arg0 = 0; |
658 const char* arg1 = NULL; | 658 const char* arg1 = NULL; |
659 | 659 |
660 if (!PyArg_ParseTuple(args, "ls", &arg0, &arg1)) | 660 if (!PyArg_ParseTuple(args, "ls", &arg0, &arg1)) |
680 } | 680 } |
681 } | 681 } |
682 | 682 |
683 static PyObject* sdk_OrthancPluginGetCommandLineArgumentsCount(PyObject* module, PyObject* args) | 683 static PyObject* sdk_OrthancPluginGetCommandLineArgumentsCount(PyObject* module, PyObject* args) |
684 { | 684 { |
685 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginGetCommandLineArgumentsCount()"); | 685 PythonLock::LogCall("Calling Python global function: OrthancPluginGetCommandLineArgumentsCount()"); |
686 | 686 |
687 | 687 |
688 long value = OrthancPluginGetCommandLineArgumentsCount(OrthancPlugins::GetGlobalContext()); | 688 long value = OrthancPluginGetCommandLineArgumentsCount(OrthancPlugins::GetGlobalContext()); |
689 | 689 |
690 return PyLong_FromLong(value); | 690 return PyLong_FromLong(value); |
691 } | 691 } |
692 | 692 |
693 static PyObject* sdk_OrthancPluginGetCommandLineArgument(PyObject* module, PyObject* args) | 693 static PyObject* sdk_OrthancPluginGetCommandLineArgument(PyObject* module, PyObject* args) |
694 { | 694 { |
695 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginGetCommandLineArgument()"); | 695 PythonLock::LogCall("Calling Python global function: OrthancPluginGetCommandLineArgument()"); |
696 | 696 |
697 unsigned long arg0 = 0; | 697 unsigned long arg0 = 0; |
698 | 698 |
699 if (!PyArg_ParseTuple(args, "k", &arg0)) | 699 if (!PyArg_ParseTuple(args, "k", &arg0)) |
700 { | 700 { |
718 } | 718 } |
719 } | 719 } |
720 | 720 |
721 static PyObject* sdk_OrthancPluginGetExpectedDatabaseVersion(PyObject* module, PyObject* args) | 721 static PyObject* sdk_OrthancPluginGetExpectedDatabaseVersion(PyObject* module, PyObject* args) |
722 { | 722 { |
723 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginGetExpectedDatabaseVersion()"); | 723 PythonLock::LogCall("Calling Python global function: OrthancPluginGetExpectedDatabaseVersion()"); |
724 | 724 |
725 | 725 |
726 long value = OrthancPluginGetExpectedDatabaseVersion(OrthancPlugins::GetGlobalContext()); | 726 long value = OrthancPluginGetExpectedDatabaseVersion(OrthancPlugins::GetGlobalContext()); |
727 | 727 |
728 return PyLong_FromLong(value); | 728 return PyLong_FromLong(value); |
729 } | 729 } |
730 | 730 |
731 static PyObject* sdk_OrthancPluginGetConfiguration(PyObject* module, PyObject* args) | 731 static PyObject* sdk_OrthancPluginGetConfiguration(PyObject* module, PyObject* args) |
732 { | 732 { |
733 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginGetConfiguration()"); | 733 PythonLock::LogCall("Calling Python global function: OrthancPluginGetConfiguration()"); |
734 | 734 |
735 | 735 |
736 OrthancPlugins::OrthancString s; | 736 OrthancPlugins::OrthancString s; |
737 s.Assign(OrthancPluginGetConfiguration(OrthancPlugins::GetGlobalContext())); | 737 s.Assign(OrthancPluginGetConfiguration(OrthancPlugins::GetGlobalContext())); |
738 | 738 |
749 } | 749 } |
750 } | 750 } |
751 | 751 |
752 static PyObject* sdk_OrthancPluginBufferCompression(PyObject* module, PyObject* args) | 752 static PyObject* sdk_OrthancPluginBufferCompression(PyObject* module, PyObject* args) |
753 { | 753 { |
754 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginBufferCompression()"); | 754 PythonLock::LogCall("Calling Python global function: OrthancPluginBufferCompression()"); |
755 | 755 |
756 Py_buffer arg0; | 756 Py_buffer arg0; |
757 long int arg2 = 0; | 757 long int arg2 = 0; |
758 unsigned char arg3 = 0; | 758 unsigned char arg3 = 0; |
759 | 759 |
779 } | 779 } |
780 } | 780 } |
781 | 781 |
782 static PyObject* sdk_OrthancPluginReadFile(PyObject* module, PyObject* args) | 782 static PyObject* sdk_OrthancPluginReadFile(PyObject* module, PyObject* args) |
783 { | 783 { |
784 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginReadFile()"); | 784 PythonLock::LogCall("Calling Python global function: OrthancPluginReadFile()"); |
785 | 785 |
786 const char* arg0 = NULL; | 786 const char* arg0 = NULL; |
787 | 787 |
788 if (!PyArg_ParseTuple(args, "s", &arg0)) | 788 if (!PyArg_ParseTuple(args, "s", &arg0)) |
789 { | 789 { |
807 } | 807 } |
808 } | 808 } |
809 | 809 |
810 static PyObject* sdk_OrthancPluginWriteFile(PyObject* module, PyObject* args) | 810 static PyObject* sdk_OrthancPluginWriteFile(PyObject* module, PyObject* args) |
811 { | 811 { |
812 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginWriteFile()"); | 812 PythonLock::LogCall("Calling Python global function: OrthancPluginWriteFile()"); |
813 | 813 |
814 const char* arg0 = NULL; | 814 const char* arg0 = NULL; |
815 Py_buffer arg1; | 815 Py_buffer arg1; |
816 | 816 |
817 if (!PyArg_ParseTuple(args, "ss*", &arg0, &arg1)) | 817 if (!PyArg_ParseTuple(args, "ss*", &arg0, &arg1)) |
837 } | 837 } |
838 } | 838 } |
839 | 839 |
840 static PyObject* sdk_OrthancPluginGetErrorDescription(PyObject* module, PyObject* args) | 840 static PyObject* sdk_OrthancPluginGetErrorDescription(PyObject* module, PyObject* args) |
841 { | 841 { |
842 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginGetErrorDescription()"); | 842 PythonLock::LogCall("Calling Python global function: OrthancPluginGetErrorDescription()"); |
843 | 843 |
844 long int arg0 = 0; | 844 long int arg0 = 0; |
845 | 845 |
846 if (!PyArg_ParseTuple(args, "l", &arg0)) | 846 if (!PyArg_ParseTuple(args, "l", &arg0)) |
847 { | 847 { |
862 } | 862 } |
863 } | 863 } |
864 | 864 |
865 static PyObject* sdk_OrthancPluginUncompressImage(PyObject* module, PyObject* args) | 865 static PyObject* sdk_OrthancPluginUncompressImage(PyObject* module, PyObject* args) |
866 { | 866 { |
867 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginUncompressImage()"); | 867 PythonLock::LogCall("Calling Python global function: OrthancPluginUncompressImage()"); |
868 | 868 |
869 Py_buffer arg0; | 869 Py_buffer arg0; |
870 long int arg2 = 0; | 870 long int arg2 = 0; |
871 | 871 |
872 if (!PyArg_ParseTuple(args, "s*l", &arg0, &arg2)) | 872 if (!PyArg_ParseTuple(args, "s*l", &arg0, &arg2)) |
894 } | 894 } |
895 } | 895 } |
896 | 896 |
897 static PyObject* sdk_OrthancPluginCompressPngImage(PyObject* module, PyObject* args) | 897 static PyObject* sdk_OrthancPluginCompressPngImage(PyObject* module, PyObject* args) |
898 { | 898 { |
899 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginCompressPngImage()"); | 899 PythonLock::LogCall("Calling Python global function: OrthancPluginCompressPngImage()"); |
900 | 900 |
901 long int arg0 = 0; | 901 long int arg0 = 0; |
902 unsigned long arg1 = 0; | 902 unsigned long arg1 = 0; |
903 unsigned long arg2 = 0; | 903 unsigned long arg2 = 0; |
904 unsigned long arg3 = 0; | 904 unsigned long arg3 = 0; |
926 } | 926 } |
927 } | 927 } |
928 | 928 |
929 static PyObject* sdk_OrthancPluginCompressJpegImage(PyObject* module, PyObject* args) | 929 static PyObject* sdk_OrthancPluginCompressJpegImage(PyObject* module, PyObject* args) |
930 { | 930 { |
931 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginCompressJpegImage()"); | 931 PythonLock::LogCall("Calling Python global function: OrthancPluginCompressJpegImage()"); |
932 | 932 |
933 long int arg0 = 0; | 933 long int arg0 = 0; |
934 unsigned long arg1 = 0; | 934 unsigned long arg1 = 0; |
935 unsigned long arg2 = 0; | 935 unsigned long arg2 = 0; |
936 unsigned long arg3 = 0; | 936 unsigned long arg3 = 0; |
959 } | 959 } |
960 } | 960 } |
961 | 961 |
962 static PyObject* sdk_OrthancPluginHttpGet(PyObject* module, PyObject* args) | 962 static PyObject* sdk_OrthancPluginHttpGet(PyObject* module, PyObject* args) |
963 { | 963 { |
964 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginHttpGet()"); | 964 PythonLock::LogCall("Calling Python global function: OrthancPluginHttpGet()"); |
965 | 965 |
966 const char* arg0 = NULL; | 966 const char* arg0 = NULL; |
967 const char* arg1 = NULL; | 967 const char* arg1 = NULL; |
968 const char* arg2 = NULL; | 968 const char* arg2 = NULL; |
969 | 969 |
989 } | 989 } |
990 } | 990 } |
991 | 991 |
992 static PyObject* sdk_OrthancPluginHttpPost(PyObject* module, PyObject* args) | 992 static PyObject* sdk_OrthancPluginHttpPost(PyObject* module, PyObject* args) |
993 { | 993 { |
994 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginHttpPost()"); | 994 PythonLock::LogCall("Calling Python global function: OrthancPluginHttpPost()"); |
995 | 995 |
996 const char* arg0 = NULL; | 996 const char* arg0 = NULL; |
997 Py_buffer arg1; | 997 Py_buffer arg1; |
998 const char* arg3 = NULL; | 998 const char* arg3 = NULL; |
999 const char* arg4 = NULL; | 999 const char* arg4 = NULL; |
1020 } | 1020 } |
1021 } | 1021 } |
1022 | 1022 |
1023 static PyObject* sdk_OrthancPluginHttpPut(PyObject* module, PyObject* args) | 1023 static PyObject* sdk_OrthancPluginHttpPut(PyObject* module, PyObject* args) |
1024 { | 1024 { |
1025 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginHttpPut()"); | 1025 PythonLock::LogCall("Calling Python global function: OrthancPluginHttpPut()"); |
1026 | 1026 |
1027 const char* arg0 = NULL; | 1027 const char* arg0 = NULL; |
1028 Py_buffer arg1; | 1028 Py_buffer arg1; |
1029 const char* arg3 = NULL; | 1029 const char* arg3 = NULL; |
1030 const char* arg4 = NULL; | 1030 const char* arg4 = NULL; |
1051 } | 1051 } |
1052 } | 1052 } |
1053 | 1053 |
1054 static PyObject* sdk_OrthancPluginHttpDelete(PyObject* module, PyObject* args) | 1054 static PyObject* sdk_OrthancPluginHttpDelete(PyObject* module, PyObject* args) |
1055 { | 1055 { |
1056 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginHttpDelete()"); | 1056 PythonLock::LogCall("Calling Python global function: OrthancPluginHttpDelete()"); |
1057 | 1057 |
1058 const char* arg0 = NULL; | 1058 const char* arg0 = NULL; |
1059 const char* arg1 = NULL; | 1059 const char* arg1 = NULL; |
1060 const char* arg2 = NULL; | 1060 const char* arg2 = NULL; |
1061 | 1061 |
1082 } | 1082 } |
1083 } | 1083 } |
1084 | 1084 |
1085 static PyObject* sdk_OrthancPluginGetFontsCount(PyObject* module, PyObject* args) | 1085 static PyObject* sdk_OrthancPluginGetFontsCount(PyObject* module, PyObject* args) |
1086 { | 1086 { |
1087 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginGetFontsCount()"); | 1087 PythonLock::LogCall("Calling Python global function: OrthancPluginGetFontsCount()"); |
1088 | 1088 |
1089 | 1089 |
1090 long value = OrthancPluginGetFontsCount(OrthancPlugins::GetGlobalContext()); | 1090 long value = OrthancPluginGetFontsCount(OrthancPlugins::GetGlobalContext()); |
1091 | 1091 |
1092 return PyLong_FromLong(value); | 1092 return PyLong_FromLong(value); |
1093 } | 1093 } |
1094 | 1094 |
1095 static PyObject* sdk_OrthancPluginGetFontName(PyObject* module, PyObject* args) | 1095 static PyObject* sdk_OrthancPluginGetFontName(PyObject* module, PyObject* args) |
1096 { | 1096 { |
1097 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginGetFontName()"); | 1097 PythonLock::LogCall("Calling Python global function: OrthancPluginGetFontName()"); |
1098 | 1098 |
1099 unsigned long arg0 = 0; | 1099 unsigned long arg0 = 0; |
1100 | 1100 |
1101 if (!PyArg_ParseTuple(args, "k", &arg0)) | 1101 if (!PyArg_ParseTuple(args, "k", &arg0)) |
1102 { | 1102 { |
1117 } | 1117 } |
1118 } | 1118 } |
1119 | 1119 |
1120 static PyObject* sdk_OrthancPluginGetFontSize(PyObject* module, PyObject* args) | 1120 static PyObject* sdk_OrthancPluginGetFontSize(PyObject* module, PyObject* args) |
1121 { | 1121 { |
1122 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginGetFontSize()"); | 1122 PythonLock::LogCall("Calling Python global function: OrthancPluginGetFontSize()"); |
1123 | 1123 |
1124 unsigned long arg0 = 0; | 1124 unsigned long arg0 = 0; |
1125 | 1125 |
1126 if (!PyArg_ParseTuple(args, "k", &arg0)) | 1126 if (!PyArg_ParseTuple(args, "k", &arg0)) |
1127 { | 1127 { |
1134 return PyLong_FromLong(value); | 1134 return PyLong_FromLong(value); |
1135 } | 1135 } |
1136 | 1136 |
1137 static PyObject* sdk_OrthancPluginRegisterErrorCode(PyObject* module, PyObject* args) | 1137 static PyObject* sdk_OrthancPluginRegisterErrorCode(PyObject* module, PyObject* args) |
1138 { | 1138 { |
1139 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginRegisterErrorCode()"); | 1139 PythonLock::LogCall("Calling Python global function: OrthancPluginRegisterErrorCode()"); |
1140 | 1140 |
1141 long int arg0 = 0; | 1141 long int arg0 = 0; |
1142 unsigned short arg1 = 0; | 1142 unsigned short arg1 = 0; |
1143 const char* arg2 = NULL; | 1143 const char* arg2 = NULL; |
1144 | 1144 |
1165 } | 1165 } |
1166 } | 1166 } |
1167 | 1167 |
1168 static PyObject* sdk_OrthancPluginRegisterDictionaryTag(PyObject* module, PyObject* args) | 1168 static PyObject* sdk_OrthancPluginRegisterDictionaryTag(PyObject* module, PyObject* args) |
1169 { | 1169 { |
1170 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginRegisterDictionaryTag()"); | 1170 PythonLock::LogCall("Calling Python global function: OrthancPluginRegisterDictionaryTag()"); |
1171 | 1171 |
1172 unsigned short arg0 = 0; | 1172 unsigned short arg0 = 0; |
1173 unsigned short arg1 = 0; | 1173 unsigned short arg1 = 0; |
1174 long int arg2 = 0; | 1174 long int arg2 = 0; |
1175 const char* arg3 = NULL; | 1175 const char* arg3 = NULL; |
1199 } | 1199 } |
1200 } | 1200 } |
1201 | 1201 |
1202 static PyObject* sdk_OrthancPluginRegisterPrivateDictionaryTag(PyObject* module, PyObject* args) | 1202 static PyObject* sdk_OrthancPluginRegisterPrivateDictionaryTag(PyObject* module, PyObject* args) |
1203 { | 1203 { |
1204 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginRegisterPrivateDictionaryTag()"); | 1204 PythonLock::LogCall("Calling Python global function: OrthancPluginRegisterPrivateDictionaryTag()"); |
1205 | 1205 |
1206 unsigned short arg0 = 0; | 1206 unsigned short arg0 = 0; |
1207 unsigned short arg1 = 0; | 1207 unsigned short arg1 = 0; |
1208 long int arg2 = 0; | 1208 long int arg2 = 0; |
1209 const char* arg3 = NULL; | 1209 const char* arg3 = NULL; |
1234 } | 1234 } |
1235 } | 1235 } |
1236 | 1236 |
1237 static PyObject* sdk_OrthancPluginDicomBufferToJson(PyObject* module, PyObject* args) | 1237 static PyObject* sdk_OrthancPluginDicomBufferToJson(PyObject* module, PyObject* args) |
1238 { | 1238 { |
1239 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginDicomBufferToJson()"); | 1239 PythonLock::LogCall("Calling Python global function: OrthancPluginDicomBufferToJson()"); |
1240 | 1240 |
1241 Py_buffer arg0; | 1241 Py_buffer arg0; |
1242 long int arg2 = 0; | 1242 long int arg2 = 0; |
1243 long int arg3 = 0; | 1243 long int arg3 = 0; |
1244 unsigned long arg4 = 0; | 1244 unsigned long arg4 = 0; |
1265 } | 1265 } |
1266 } | 1266 } |
1267 | 1267 |
1268 static PyObject* sdk_OrthancPluginDicomInstanceToJson(PyObject* module, PyObject* args) | 1268 static PyObject* sdk_OrthancPluginDicomInstanceToJson(PyObject* module, PyObject* args) |
1269 { | 1269 { |
1270 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginDicomInstanceToJson()"); | 1270 PythonLock::LogCall("Calling Python global function: OrthancPluginDicomInstanceToJson()"); |
1271 | 1271 |
1272 const char* arg0 = NULL; | 1272 const char* arg0 = NULL; |
1273 long int arg1 = 0; | 1273 long int arg1 = 0; |
1274 long int arg2 = 0; | 1274 long int arg2 = 0; |
1275 unsigned long arg3 = 0; | 1275 unsigned long arg3 = 0; |
1296 } | 1296 } |
1297 } | 1297 } |
1298 | 1298 |
1299 static PyObject* sdk_OrthancPluginCreateImage(PyObject* module, PyObject* args) | 1299 static PyObject* sdk_OrthancPluginCreateImage(PyObject* module, PyObject* args) |
1300 { | 1300 { |
1301 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginCreateImage()"); | 1301 PythonLock::LogCall("Calling Python global function: OrthancPluginCreateImage()"); |
1302 | 1302 |
1303 long int arg0 = 0; | 1303 long int arg0 = 0; |
1304 unsigned long arg1 = 0; | 1304 unsigned long arg1 = 0; |
1305 unsigned long arg2 = 0; | 1305 unsigned long arg2 = 0; |
1306 | 1306 |
1329 } | 1329 } |
1330 } | 1330 } |
1331 | 1331 |
1332 static PyObject* sdk_OrthancPluginDecodeDicomImage(PyObject* module, PyObject* args) | 1332 static PyObject* sdk_OrthancPluginDecodeDicomImage(PyObject* module, PyObject* args) |
1333 { | 1333 { |
1334 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginDecodeDicomImage()"); | 1334 PythonLock::LogCall("Calling Python global function: OrthancPluginDecodeDicomImage()"); |
1335 | 1335 |
1336 Py_buffer arg0; | 1336 Py_buffer arg0; |
1337 unsigned long arg2 = 0; | 1337 unsigned long arg2 = 0; |
1338 | 1338 |
1339 if (!PyArg_ParseTuple(args, "s*k", &arg0, &arg2)) | 1339 if (!PyArg_ParseTuple(args, "s*k", &arg0, &arg2)) |
1361 } | 1361 } |
1362 } | 1362 } |
1363 | 1363 |
1364 static PyObject* sdk_OrthancPluginComputeMd5(PyObject* module, PyObject* args) | 1364 static PyObject* sdk_OrthancPluginComputeMd5(PyObject* module, PyObject* args) |
1365 { | 1365 { |
1366 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginComputeMd5()"); | 1366 PythonLock::LogCall("Calling Python global function: OrthancPluginComputeMd5()"); |
1367 | 1367 |
1368 Py_buffer arg0; | 1368 Py_buffer arg0; |
1369 | 1369 |
1370 if (!PyArg_ParseTuple(args, "s*", &arg0)) | 1370 if (!PyArg_ParseTuple(args, "s*", &arg0)) |
1371 { | 1371 { |
1389 } | 1389 } |
1390 } | 1390 } |
1391 | 1391 |
1392 static PyObject* sdk_OrthancPluginComputeSha1(PyObject* module, PyObject* args) | 1392 static PyObject* sdk_OrthancPluginComputeSha1(PyObject* module, PyObject* args) |
1393 { | 1393 { |
1394 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginComputeSha1()"); | 1394 PythonLock::LogCall("Calling Python global function: OrthancPluginComputeSha1()"); |
1395 | 1395 |
1396 Py_buffer arg0; | 1396 Py_buffer arg0; |
1397 | 1397 |
1398 if (!PyArg_ParseTuple(args, "s*", &arg0)) | 1398 if (!PyArg_ParseTuple(args, "s*", &arg0)) |
1399 { | 1399 { |
1417 } | 1417 } |
1418 } | 1418 } |
1419 | 1419 |
1420 static PyObject* sdk_OrthancPluginGenerateUuid(PyObject* module, PyObject* args) | 1420 static PyObject* sdk_OrthancPluginGenerateUuid(PyObject* module, PyObject* args) |
1421 { | 1421 { |
1422 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginGenerateUuid()"); | 1422 PythonLock::LogCall("Calling Python global function: OrthancPluginGenerateUuid()"); |
1423 | 1423 |
1424 | 1424 |
1425 OrthancPlugins::OrthancString s; | 1425 OrthancPlugins::OrthancString s; |
1426 s.Assign(OrthancPluginGenerateUuid(OrthancPlugins::GetGlobalContext())); | 1426 s.Assign(OrthancPluginGenerateUuid(OrthancPlugins::GetGlobalContext())); |
1427 | 1427 |
1438 } | 1438 } |
1439 } | 1439 } |
1440 | 1440 |
1441 static PyObject* sdk_OrthancPluginGetPeers(PyObject* module, PyObject* args) | 1441 static PyObject* sdk_OrthancPluginGetPeers(PyObject* module, PyObject* args) |
1442 { | 1442 { |
1443 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginGetPeers()"); | 1443 PythonLock::LogCall("Calling Python global function: OrthancPluginGetPeers()"); |
1444 | 1444 |
1445 | 1445 |
1446 // This is the case of a constructor | 1446 // This is the case of a constructor |
1447 OrthancPluginPeers* obj = OrthancPluginGetPeers(OrthancPlugins::GetGlobalContext()); | 1447 OrthancPluginPeers* obj = OrthancPluginGetPeers(OrthancPlugins::GetGlobalContext()); |
1448 | 1448 |
1462 } | 1462 } |
1463 } | 1463 } |
1464 | 1464 |
1465 static PyObject* sdk_OrthancPluginAutodetectMimeType(PyObject* module, PyObject* args) | 1465 static PyObject* sdk_OrthancPluginAutodetectMimeType(PyObject* module, PyObject* args) |
1466 { | 1466 { |
1467 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginAutodetectMimeType()"); | 1467 PythonLock::LogCall("Calling Python global function: OrthancPluginAutodetectMimeType()"); |
1468 | 1468 |
1469 const char* arg0 = NULL; | 1469 const char* arg0 = NULL; |
1470 | 1470 |
1471 if (!PyArg_ParseTuple(args, "s", &arg0)) | 1471 if (!PyArg_ParseTuple(args, "s", &arg0)) |
1472 { | 1472 { |
1487 } | 1487 } |
1488 } | 1488 } |
1489 | 1489 |
1490 static PyObject* sdk_OrthancPluginSetMetricsValue(PyObject* module, PyObject* args) | 1490 static PyObject* sdk_OrthancPluginSetMetricsValue(PyObject* module, PyObject* args) |
1491 { | 1491 { |
1492 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginSetMetricsValue()"); | 1492 PythonLock::LogCall("Calling Python global function: OrthancPluginSetMetricsValue()"); |
1493 | 1493 |
1494 const char* arg0 = NULL; | 1494 const char* arg0 = NULL; |
1495 float arg1 = 0; | 1495 float arg1 = 0; |
1496 long int arg2 = 0; | 1496 long int arg2 = 0; |
1497 | 1497 |
1508 return Py_None; | 1508 return Py_None; |
1509 } | 1509 } |
1510 | 1510 |
1511 static PyObject* sdk_OrthancPluginGetTagName(PyObject* module, PyObject* args) | 1511 static PyObject* sdk_OrthancPluginGetTagName(PyObject* module, PyObject* args) |
1512 { | 1512 { |
1513 OrthancPlugins::LogInfo("Calling Python global function: OrthancPluginGetTagName()"); | 1513 PythonLock::LogCall("Calling Python global function: OrthancPluginGetTagName()"); |
1514 | 1514 |
1515 unsigned short arg0 = 0; | 1515 unsigned short arg0 = 0; |
1516 unsigned short arg1 = 0; | 1516 unsigned short arg1 = 0; |
1517 const char* arg2 = NULL; | 1517 const char* arg2 = NULL; |
1518 | 1518 |