Commit 6e2861e5 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

linphone_core_iterate() Python wrapper no longer needs to be handwritten.

parent 7a4458c2
...@@ -110,7 +110,6 @@ blacklisted_functions = [ ...@@ -110,7 +110,6 @@ blacklisted_functions = [
'lp_config_section_to_dict' # missing LinphoneDictionary 'lp_config_section_to_dict' # missing LinphoneDictionary
] ]
hand_written_functions = [ hand_written_functions = [
'linphone_core_iterate',
'linphone_core_new', 'linphone_core_new',
'linphone_core_new_with_config' 'linphone_core_new_with_config'
] ]
......
...@@ -193,18 +193,3 @@ static PyObject * pylinphone_Core_class_method_new_with_config(PyObject *cls, Py ...@@ -193,18 +193,3 @@ static PyObject * pylinphone_Core_class_method_new_with_config(PyObject *cls, Py
Py_DECREF(self); Py_DECREF(self);
return pyret; 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;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment