From 6e2861e544eb53239d004b3642d631923c440539 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Mon, 11 Aug 2014 15:38:39 +0200 Subject: [PATCH] linphone_core_iterate() Python wrapper no longer needs to be handwritten. --- tools/python/apixml2python.py | 1 - tools/python/apixml2python/handwritten.mustache | 15 --------------- 2 files changed, 16 deletions(-) diff --git a/tools/python/apixml2python.py b/tools/python/apixml2python.py index bdf8f2c09..29a2904c2 100755 --- a/tools/python/apixml2python.py +++ b/tools/python/apixml2python.py @@ -110,7 +110,6 @@ blacklisted_functions = [ 'lp_config_section_to_dict' # missing LinphoneDictionary ] hand_written_functions = [ - 'linphone_core_iterate', 'linphone_core_new', 'linphone_core_new_with_config' ] diff --git a/tools/python/apixml2python/handwritten.mustache b/tools/python/apixml2python/handwritten.mustache index 54ad63314..df58453dc 100644 --- a/tools/python/apixml2python/handwritten.mustache +++ b/tools/python/apixml2python/handwritten.mustache @@ -193,18 +193,3 @@ static PyObject * pylinphone_Core_class_method_new_with_config(PyObject *cls, Py Py_DECREF(self); return pyret; } - -static PyObject * pylinphone_Core_instance_method_iterate(PyObject *self, PyObject *args) { - LinphoneCore *native_ptr = pylinphone_Core_get_native_ptr(self); - if (native_ptr == NULL) { - PyErr_SetString(PyExc_TypeError, "Invalid linphone.Core instance"); - return NULL; - } - - pylinphone_trace(1, "[PYLINPHONE] >>> %s(%p [%p])", __FUNCTION__, self, native_ptr); - linphone_core_iterate(native_ptr); - pylinphone_dispatch_messages(); - - pylinphone_trace(-1, "[PYLINPHONE] <<< %s -> None", __FUNCTION__); - Py_RETURN_NONE; -}