Changeset 440 for trunk/src/lua/lua_function.cc
- Timestamp:
- 07/23/15 21:16:01 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lua/lua_function.cc
r433 r440 21 21 { 22 22 lua_pop( L, 1 ); 23 NV_LUA_ABORT( "function_base::function_base", "not a valid path - ", a_path.to_string() .c_str());23 NV_LUA_ABORT( "function_base::function_base", "not a valid path - ", a_path.to_string() ); 24 24 } 25 25 … … 27 27 { 28 28 lua_pop( L, 1 ); 29 NV_LUA_ABORT( "function_base::function_base", "not a valid function - ", a_path.to_string() .c_str());29 NV_LUA_ABORT( "function_base::function_base", "not a valid function - ", a_path.to_string() ); 30 30 } 31 31 m_ref = luaL_ref( L, LUA_REGISTRYINDEX ); … … 64 64 if ( status != 0 ) 65 65 { 66 st d::string error = lua_tostring( L, -1);66 string128 error( nlua_tostringview( L, -1 ) ); 67 67 lua_pop( L, 1 ); 68 NV_LUA_ABORT( "function_base::call", "call failed - ", error .c_str());68 NV_LUA_ABORT( "function_base::call", "call failed - ", error ); 69 69 } 70 70 }
Note: See TracChangeset
for help on using the changeset viewer.