Mercurial > hg > orthanc-python
view CodeAnalysis/ClassMethods.mustache @ 163:54991a36af1d
fix mingw builds that are not compatible with boost 1.85.0 in the Docker image
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 16 May 2024 23:06:12 +0200 |
parents | f79f5450ad7f |
children | 55473de7694f |
line wrap: on
line source
// Actual implementation of the methods {{#methods}} static PyObject *sdk_{{class_name}}_{{c_function}}( sdk_{{class_name}}_Object* self, PyObject *args) { PythonLock::LogCall("Calling method {{c_function}}() on object of class {{class_name}}"); if (self->object_ == NULL) { PyErr_SetString(PyExc_ValueError, "Invalid object"); return NULL; } {{> function_body}} } {{/methods}}