diff options
Diffstat (limited to 'src/05-upvalue/main.c')
| -rw-r--r-- | src/05-upvalue/main.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/05-upvalue/main.c b/src/05-upvalue/main.c new file mode 100644 index 0000000..697eb2c --- /dev/null +++ b/src/05-upvalue/main.c @@ -0,0 +1,19 @@ +#include "../configure.h" +#if BUILD_TEST == TEST_5 + +int main(int args, char* argv[]) +{ + lua_State* L = luaL_newstate(); + + luaL_openlibs(L); + + luaL_dofile(L, "05-upvalue/test.lua"); + + lua_close(L); + + getchar(); + + return 0; +} + +#endif
\ No newline at end of file |
