refactor(meson): add parse.c to build
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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,
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
sources += files(
|
sources += files(
|
||||||
'json.c',
|
'json.c',
|
||||||
'methods.c',
|
'methods.c',
|
||||||
|
'parse.c',
|
||||||
'tgbot.c',
|
'tgbot.c',
|
||||||
'types.c',
|
'types.c',
|
||||||
)
|
)
|
||||||
Reference in New Issue
Block a user