diff options
author | pommicket <pommicket@gmail.com> | 2023-07-19 11:46:28 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-07-19 19:03:22 -0400 |
commit | 4143734747b7b544daecdf1b8676838362c6cb59 (patch) | |
tree | e7c879967027f47b957c35e551b3e971a6aab924 /ted.h | |
parent | e5dc92fcd600b15977cad7c81de7b8c1cd11fb87 (diff) |
fix memory leaks (not really leaky)
Diffstat (limited to 'ted.h')
-rw-r--r-- | ted.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1603,6 +1603,8 @@ bool syntax_is_opening_bracket(Language lang, char32_t c); /// To highlight multiple lines, start out with a zeroed SyntaxState, and pass a pointer to it each time. /// You can set char_types to NULL if you just want to advance the state, and don't care about the character types. void syntax_highlight(SyntaxState *state, Language lang, const char32_t *line, u32 line_len, SyntaxCharType *char_types); +/// free up resources used by syntax.c +void syntax_quit(void); // === tags.c === void tags_generate(Ted *ted, bool run_in_build_window); |