Changeset 79 for trunk/tests/lualib_test/lualib_test.cc
- Timestamp:
- 06/02/13 00:53:25 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/lualib_test/lualib_test.cc
r78 r79 53 53 std::cout << "> " << input << std::endl; 54 54 55 int code = luaL_loadstring( state.get_raw(), input.c_str() ); 56 if (code == 0) code = lua_pcall( state.get_raw(), 0, LUA_MULTRET, 0); 57 if (code != 0) 55 bool result = state.do_string( input, "", nv::lua::ret_multi ); 56 if ( !result ) 58 57 { 59 58 std::string error = lua_tostring( state.get_raw(), -1 );
Note: See TracChangeset
for help on using the changeset viewer.