Changeset 445 for trunk/src/lua/lua_values.cc
- Timestamp:
- 07/29/15 16:24:39 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lua/lua_values.cc
r440 r445 106 106 } 107 107 108 const char* nv::lua::detail::to_cstring ( lua_State *L, int index )109 {110 return lua_tolstring( L, index, nullptr );111 }108 // const char* nv::lua::detail::to_cstring ( lua_State *L, int index ) 109 // { 110 // return lua_tolstring( L, index, nullptr ); 111 // } 112 112 113 113 nv::string_view nv::lua::detail::to_string_view( lua_State *L, int index ) … … 164 164 } 165 165 166 const char* nv::lua::detail::to_cstring ( lua_State *L, int index, const char* def )167 {168 return ( lua_type( L, index ) == LUA_TSTRING ? lua_tostring( L, index ) : def );169 }166 // const char* nv::lua::detail::to_cstring ( lua_State *L, int index, const char* def ) 167 // { 168 // return ( lua_type( L, index ) == LUA_TSTRING ? lua_tostring( L, index ) : def ); 169 // } 170 170 171 171 void* nv::lua::detail::to_pointer ( lua_State *L, int index, void* def )
Note: See TracChangeset
for help on using the changeset viewer.