Ignore:
Timestamp:
07/29/15 16:24:39 (10 years ago)
Author:
epyon
Message:
  • cleaning up string usage in lua (WIP)
  • cleaned up types.hh (WIP)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lua/lua_values.cc

    r440 r445  
    106106}
    107107
    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// }
    112112
    113113nv::string_view nv::lua::detail::to_string_view( lua_State *L, int index )
     
    164164}
    165165
    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// }
    170170
    171171void*       nv::lua::detail::to_pointer ( lua_State *L, int index, void* def )
Note: See TracChangeset for help on using the changeset viewer.