Ignore:
Timestamp:
06/12/14 15:38:09 (11 years ago)
Author:
epyon
Message:
  • managed finally to force the compile-time, hand-written performance, Lua function binding to work
  • FUCK YEAH!
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/nv/lua/lua_state.hh

    r228 r253  
    136136                        bool is_defined( const path& p ) { return is_defined( p, m_global ); }
    137137                        void register_native_function( lfunction f, const char* name );
    138                         template < typename F, F* f >
     138
     139                        template < typename F, F f >
    139140                        void register_function( const char* name )
    140141                        {
     
    142143                        }
    143144
    144                         template < typename C, typename F, F* f >
     145                        template < typename C, typename F, F f >
    145146                        void register_function( const char* name )
    146147                        {
     
    212213                        void unregister_object( object * o );
    213214                        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 >
    215216                        void register_object_method( const char* lua_name, const char* name )
    216217                        {
Note: See TracChangeset for help on using the changeset viewer.