Debian Codegraph @

3rdparty/toluapp/src/tests/tmodule.c

raw
1 #include "lualib.h"
2 #include "lauxlib.h"
3
4 #include "tmodule.h"
5
6 int a = 1;
7 int b = 2;
8 int c = 3;
9 int d = 4;
10
11 int main ()
12 {
13 int tolua_tmodule_open (lua_State*);
14
15 lua_State* L = lua_open();
16 luaopen_base(L);
17 tolua_tmodule_open(L);
18
19 lua_dofile(L,"tmodule.lua");
20
21 lua_close(L);
22 return 0;
23 }
24