summaryrefslogtreecommitdiffstats
path: root/src/guile-test.c
blob: d1bcd58f07c5438b626a64cf5a6cd11296dab12d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* This file is part of mingw-cross-env.       */
/* See doc/index.html for further information. */

#include <libguile.h>

static void inner_main(void *data, int argc, char *argv[])
{
    (void)data;
    (void)argc;
    (void)argv;
    scm_c_eval_string("(display \"Hello World!\\n\")");
}

int main(int argc, char *argv[])
{
    scm_boot_guile(argc, argv, inner_main, NULL);
    return 0;
}