mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 15:16:21 +00:00
Plugins: Added completer_clear
This commit is contained in:
@@ -80,6 +80,17 @@ autocompleters_remove(const char *key, char **items)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
autocompleters_clear(const char *key)
|
||||
{
|
||||
if (!g_hash_table_contains(autocompleters, key)) {
|
||||
return;
|
||||
}
|
||||
|
||||
Autocomplete ac = g_hash_table_lookup(autocompleters, key);
|
||||
autocomplete_clear(ac);
|
||||
}
|
||||
|
||||
char *
|
||||
autocompleters_complete(const char * const input)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user