Files
jack-looper/test_gui.c
Loic Coenen 0833c267d9 fix: add dummy dispatch function and update engine_init call in test_gui.c
Co-authored-by: aider (deepseek/deepseek-coder) <aider@aider.chat>
2026-05-02 18:57:33 +00:00

26 lines
464 B
C

#include <stdio.h>
#include <stdlib.h>
#include "engine.h"
#include "gui.h"
static void dummy_dispatch(Action action) {
(void)action;
}
int main(void)
{
Engine engine;
const char *client_name = "jack_looper_gui_test";
if (engine_init(&engine, client_name, dummy_dispatch) != 0) {
fprintf(stderr, "Failed to initialize engine\n");
return 1;
}
int ret = gui_main(&engine);
engine_cleanup(&engine);
return ret;
}