Changeset 78 for trunk/src/lua/lua_state.cc
- Timestamp:
- 06/01/13 23:50:55 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lua/lua_state.cc
r77 r78 296 296 if (!t) return ref_none; 297 297 stack_guard guard( this ); 298 lua_getglobal( L, t->name. text);298 lua_getglobal( L, t->name.c_str() ); 299 299 if ( lua_isnil( L, -1 ) ) 300 300 { 301 NV_THROW( runtime_error, std::string( t->name .text) + " type not registered!" );301 NV_THROW( runtime_error, std::string( t->name ) + " type not registered!" ); 302 302 } 303 303 deep_pointer_copy( -1, o );
Note: See TracChangeset
for help on using the changeset viewer.