Mercurial > hg > orthanc-python
diff CodeAnalysis/Class.mustache @ 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 |
line wrap: on
line diff
--- a/CodeAnalysis/Class.mustache Tue Jul 02 18:25:53 2024 +0200 +++ b/CodeAnalysis/Class.mustache Tue Jul 02 18:37:04 2024 +0200 @@ -32,8 +32,7 @@ // Forward declaration of the custom methods {{#custom_methods}} -extern PyObject *{{implementation}}( - sdk_{{class_name}}_Object* self, PyObject *args); +extern PyObject *{{implementation}}(sdk_{{class_name}}_Object* self, PyObject *args); {{/custom_methods}} // End of forward declarations @@ -47,7 +46,7 @@ {{#custom_methods}} { "{{short_name}}", (PyCFunction) {{implementation}}, METH_VARARGS, - "Generated from C function {{sdk_function}}()" }, + "Implemented in C++ function {{implementation}}()" }, {{/custom_methods}} { NULL } /* Sentinel */ };