comparison Sources/PythonFunction.cpp @ 68:0b3ef425db31

refactoring using ICallbackRegistration::Apply()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 11 Jun 2021 14:34:08 +0200
parents 23f3099bed47
children eb6ac5a801d1
comparison
equal deleted inserted replaced
67:9d0460d0f15b 68:0b3ef425db31
17 **/ 17 **/
18 18
19 19
20 #include "PythonFunction.h" 20 #include "PythonFunction.h"
21 21
22 #include "../Resources/Orthanc/Plugins/OrthancPluginCppWrapper.h"
22 #include "PythonModule.h" 23 #include "PythonModule.h"
23
24 #include "../Resources/Orthanc/Plugins/OrthancPluginCppWrapper.h"
25 24
26 25
27 PythonObject* PythonFunction::CallUnchecked(PyObject* args) 26 PythonObject* PythonFunction::CallUnchecked(PyObject* args)
28 { 27 {
29 if (!IsValid()) 28 if (!IsValid())