comparison Sources/Autogenerated/sdk_OrthancPluginImage.impl.h @ 193:66cd20e970d8 java-code-model

simplification for custom methods
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 02 Jul 2024 18:37:04 +0200
parents 55473de7694f
children 3678a028f1f6
comparison
equal deleted inserted replaced
192:b0f096d2339e 193:66cd20e970d8
37 sdk_OrthancPluginImage_Object* self, PyObject *args); 37 sdk_OrthancPluginImage_Object* self, PyObject *args);
38 // End of forward declarations 38 // End of forward declarations
39 39
40 40
41 // Forward declaration of the custom methods 41 // Forward declaration of the custom methods
42 extern PyObject *GetImageBuffer( 42 extern PyObject *GetImageBuffer(sdk_OrthancPluginImage_Object* self, PyObject *args);
43 sdk_OrthancPluginImage_Object* self, PyObject *args);
44 // End of forward declarations 43 // End of forward declarations
45 44
46 45
47 static PyMethodDef sdk_OrthancPluginImage_Methods[] = { 46 static PyMethodDef sdk_OrthancPluginImage_Methods[] = {
48 { "GetImagePixelFormat", 47 { "GetImagePixelFormat",
63 { "DrawText", 62 { "DrawText",
64 (PyCFunction) sdk_OrthancPluginImage_OrthancPluginDrawText, METH_VARARGS, 63 (PyCFunction) sdk_OrthancPluginImage_OrthancPluginDrawText, METH_VARARGS,
65 "Generated from C function OrthancPluginDrawText()" }, 64 "Generated from C function OrthancPluginDrawText()" },
66 { "GetImageBuffer", 65 { "GetImageBuffer",
67 (PyCFunction) GetImageBuffer, METH_VARARGS, 66 (PyCFunction) GetImageBuffer, METH_VARARGS,
68 "Generated from C function OrthancPluginGetImageBuffer()" }, 67 "Implemented in C++ function GetImageBuffer()" },
69 { NULL } /* Sentinel */ 68 { NULL } /* Sentinel */
70 }; 69 };
71 70
72 71
73 static int sdk_OrthancPluginImage_Constructor( 72 static int sdk_OrthancPluginImage_Constructor(