Mercurial > mxe-octave
annotate 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 |
rev | line source |
---|---|
1475 | 1 /* This file is part of mingw-cross-env. */ |
2 /* See doc/index.html for further information. */ | |
3 | |
4 #include <stdio.h> | |
5 #include <lua.h> | |
6 #include <lauxlib.h> | |
7 | |
8 int main (int argc, char **argv) { | |
9 (void)argc; | |
10 (void)argv; | |
11 | |
12 lua_State *L = lua_open(); | |
13 lua_close(L); | |
14 return 0; | |
15 } |