Changeset 253 for trunk/nv/lua/lua_state.hh
- Timestamp:
- 06/12/14 15:38:09 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nv/lua/lua_state.hh
r228 r253 136 136 bool is_defined( const path& p ) { return is_defined( p, m_global ); } 137 137 void register_native_function( lfunction f, const char* name ); 138 template < typename F, F* f > 138 139 template < typename F, F f > 139 140 void register_function( const char* name ) 140 141 { … … 142 143 } 143 144 144 template < typename C, typename F, F * f >145 template < typename C, typename F, F f > 145 146 void register_function( const char* name ) 146 147 { … … 212 213 void unregister_object( object * o ); 213 214 void register_native_object_method( const char* lua_name, const char* name, lfunction f ); 214 template < typename F, F *f >215 template < typename F, F f > 215 216 void register_object_method( const char* lua_name, const char* name ) 216 217 {
Note: See TracChangeset
for help on using the changeset viewer.