diff --git a/tools/python/apixml2python/handwritten_definitions.mustache b/tools/python/apixml2python/handwritten_definitions.mustache index b3d043c32688420f1e8dc095ba20320d5a658629..41a563687f56364223d5b3a963eb19b256cbf4c1 100644 --- a/tools/python/apixml2python/handwritten_definitions.mustache +++ b/tools/python/apixml2python/handwritten_definitions.mustache @@ -117,8 +117,7 @@ static PyObject * pylinphone_module_method_set_log_handler(PyObject *self, PyObj static PyObject * pylinphone_Core_get_video_devices(PyObject *self, void *closure) { PyObject *_list; - char **_devices; - char *_device; + const char **_devices; LinphoneCore *native_ptr = pylinphone_Core_get_native_ptr(self); if (native_ptr == NULL) {