diff CodeAnalysis/Class.mustache @ 131:c55b0583084b

integration fix-leak->mainline
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 30 Aug 2023 11:52:45 +0200
parents 65ec5597ec70 5643e97d9367
children 71d305c29cfa
line wrap: on
line diff
--- a/CodeAnalysis/Class.mustache	Wed Aug 30 11:49:59 2023 +0200
+++ b/CodeAnalysis/Class.mustache	Wed Aug 30 11:52:45 2023 +0200
@@ -105,25 +105,6 @@
 {{/destructor}}
 
 
-// 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}}
-
-
 static void Register{{class_name}}Class(PyObject* module)
 {
   sdk_{{class_name}}_Type.tp_new = PyType_GenericNew;