refactor(meson): add parse.c to build

This commit is contained in:
2026-01-30 01:43:16 +01:00
parent 4186b23e1a
commit 035483f54f
3 changed files with 9 additions and 7 deletions

View File

@@ -35,6 +35,7 @@ void callback_handler(tgbot_s *bot, tgbot_cbquery_s *query) {
} }
void sighandler(int signum) { void sighandler(int signum) {
(void)signum;
fprintf(stdout, "Closing...\n"); fprintf(stdout, "Closing...\n");
run = false; run = false;
} }

View File

@@ -34,6 +34,6 @@ tgbot_dep = declare_dependency(
# Example # Example
executable( executable(
'example', 'example',
'examples/echobot/echobot.c', 'examples/inlinekeyboard/inlinekeyboard.c',
dependencies: tgbot_dep, dependencies: tgbot_dep,
) )

View File

@@ -1,6 +1,7 @@
sources += files( sources += files(
'json.c', 'json.c',
'methods.c', 'methods.c',
'tgbot.c', 'parse.c',
'types.c', 'tgbot.c',
'types.c',
) )