Add macro for plugins completer add

This commit is contained in:
James Booth
2016-06-23 00:44:52 +01:00
parent 1e37b755fe
commit 61a09476c5
4 changed files with 11 additions and 4 deletions

View File

@@ -205,6 +205,9 @@ python_api_completer_add(PyObject *self, PyObject *args)
return Py_BuildValue("");
}
char *plugin_name = _python_plugin_name();
log_debug("Autocomplete add %s for %s", key, plugin_name);
Py_ssize_t len = PyList_Size(items);
char *c_items[len];