view src/guile-test.c @ 1398:c6aaf7d9c746

check most of the requirements in advance
author Volker Grabsch <vog@notjusthosting.com>
date Thu, 18 Nov 2010 12:00:26 +0100
parents 80738f6f27a0
children f653602a0500
line wrap: on
line source

/* 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;
}