fix: proper function prototypes

This commit is contained in:
ObserverOfTime 2024-03-18 21:11:39 +02:00 committed by Amaan Qureshi
parent 50dfd409f6
commit 63babea301
2 changed files with 4 additions and 4 deletions

View file

@ -1360,7 +1360,7 @@ impl Generator {
add_line!(
self,
"TS_PUBLIC const TSLanguage *{language_function_name}() {{",
"TS_PUBLIC const TSLanguage *{language_function_name}(void) {{",
);
indent!(self);
add_line!(self, "static const TSLanguage language = {{");