diff options
Diffstat (limited to 'ThirdParty/tolua-5.2.4/src/tests/tinheritance.cpp')
-rw-r--r-- | ThirdParty/tolua-5.2.4/src/tests/tinheritance.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ThirdParty/tolua-5.2.4/src/tests/tinheritance.cpp b/ThirdParty/tolua-5.2.4/src/tests/tinheritance.cpp new file mode 100644 index 0000000..4396a7e --- /dev/null +++ b/ThirdParty/tolua-5.2.4/src/tests/tinheritance.cpp @@ -0,0 +1,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; +} + |