summaryrefslogtreecommitdiff
path: root/tolua/src/tests/tinheritance.cpp
blob: 4396a7ee193f5d4c7e0c13dab6bfcc21971c2879 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
extern "C" {
#include "lua.h"
#include "lualib.h"
#include "lauxlib.h"
}

int main ()
{
	int  tolua_tinheritance_open (lua_State*);

	lua_State* L = luaL_newstate();
	luaL_openlibs(L);
	tolua_tinheritance_open(L);

	luaL_dofile(L,"tinheritance.lua");

	lua_close(L);

	return 0;
}