Changeset 186
- Timestamp:
- 08/03/13 07:43:24 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nv/lua/lua_values.hh
r185 r186 8 8 #define NV_LUA_VALUES_HH 9 9 10 #include <type_traits> 10 11 #include <nv/common.hh> 11 12 #include <nv/string.hh> … … 52 53 void push_value( lua_State *L, object* o ); 53 54 void push_value( lua_State *L, void* p ); 55 56 template< typename D > 57 typename std::enable_if<std::is_base_of<object, D>::value>::type 58 push_value( lua_State *L, D* o ) 59 { 60 push_value( L, (object*)o ); 61 } 62 54 63 template < typename T > 55 64 void push_value( lua_State *L, const T& p )
Note: See TracChangeset
for help on using the changeset viewer.