summaryrefslogtreecommitdiff
path: root/ide-autocomplete.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-08-05 15:08:45 -0400
committerpommicket <pommicket@gmail.com>2023-08-05 15:08:45 -0400
commit4b10cb8f0892a720bd8d7f61b39f5faffc43107c (patch)
tree0c28195572231c93c11fa3d6b625ea0dc0328ce9 /ide-autocomplete.c
parentb65943698a241624973f3ab54530bb5d5884cff2 (diff)
internalize signature help, usages
Diffstat (limited to 'ide-autocomplete.c')
-rw-r--r--ide-autocomplete.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ide-autocomplete.c b/ide-autocomplete.c
index c024e30..6b98526 100644
--- a/ide-autocomplete.c
+++ b/ide-autocomplete.c
@@ -765,3 +765,9 @@ void autocomplete_frame(Ted *ted) {
gl_geometry_draw();
text_render(font);
}
+
+void autocomplete_quit(Ted *ted) {
+ autocomplete_close(ted);
+ free(ted->autocomplete);
+ ted->autocomplete = NULL;
+}