Mercurial > mxe-octave
diff src/lua-test.c @ 1475:72864135031e
add test program for lua
author | Tony Theodore <tonyt@logyst.com> |
---|---|
date | Mon, 06 Dec 2010 01:31:02 +1100 |
parents | |
children | aada6ecef7dd |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/lua-test.c Mon Dec 06 01:31:02 2010 +1100 @@ -0,0 +1,15 @@ +/* This file is part of mingw-cross-env. */ +/* See doc/index.html for further information. */ + +#include <stdio.h> +#include <lua.h> +#include <lauxlib.h> + +int main (int argc, char **argv) { + (void)argc; + (void)argv; + + lua_State *L = lua_open(); + lua_close(L); + return 0; +}